Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002718/0.002718, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003184/0.003184, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.652/1.652, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.07/3.07, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.506e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004747/0.004782, allocations: 2.192 MB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004711/0.009493, allocations: 2.744 MB / 0.7912 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.009643, allocations: 3.938 kB / 0.7912 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.01128, allocations: 0.4896 MB / 0.7917 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004518/0.01173, allocations: 172.3 kB / 0.7919 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.01246, allocations: 205.9 kB / 0.7921 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.01359, allocations: 398.6 kB / 0.7925 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.01378, allocations: 30.48 kB / 0.7925 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.01413, allocations: 175.5 kB / 0.7927 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.01444, allocations: 132.1 kB / 0.7928 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.0145, allocations: 9.125 kB / 0.7928 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.01482, allocations: 75.88 kB / 0.7929 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.01505, allocations: 131.5 kB / 0.793 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.01523, allocations: 108.5 kB / 0.7931 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.0163, allocations: 0.7006 MB / 0.7938 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.01631, allocations: 0 / 0.7938 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.295e-06/0.01631, allocations: 4.844 kB / 0.7938 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.01632, allocations: 0 / 0.7938 GB, free: 5.223 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001804/0.01812, allocations: 1.05 MB / 0.7948 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.01817, allocations: 8.031 kB / 0.7948 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.01832, allocations: 76.47 kB / 0.7949 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.01897, allocations: 389 kB / 0.7953 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.019, allocations: 12.36 kB / 0.7953 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.01901, allocations: 7.156 kB / 0.7953 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.0193, allocations: 148.9 kB / 0.7954 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01931, allocations: 3.938 kB / 0.7954 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.01932, allocations: 4 kB / 0.7954 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.01933, allocations: 3.938 kB / 0.7954 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.01946, allocations: 35.97 kB / 0.7955 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.02066, allocations: 0.6832 MB / 0.7961 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.02108, allocations: 112.6 kB / 0.7962 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.02116, allocations: 31.67 kB / 0.7963 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.02118, allocations: 0 / 0.7963 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.02142, allocations: 115.2 kB / 0.7964 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.02142, allocations: 0.5625 kB / 0.7964 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000482/0.0219, allocations: 194.5 kB / 0.7966 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.02199, allocations: 81.11 kB / 0.7966 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.02359, allocations: 1.058 MB / 0.7977 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.02362, allocations: 29.7 kB / 0.7977 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/0.02421, allocations: 467.4 kB / 0.7981 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.02425, allocations: 20.86 kB / 0.7982 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.02433, allocations: 39.36 kB / 0.7982 GB, free: 480 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003109/0.02464, allocations: 488.4 kB / 0.7987 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.02471, allocations: 27.95 kB / 0.7987 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.02487, allocations: 122.1 kB / 0.7988 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.02503, allocations: 75.59 kB / 0.7989 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.02503, allocations: 0 / 0.7989 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003155/0.02534, allocations: 169.1 kB / 0.799 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.02536, allocations: 4 kB / 0.799 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.02537, allocations: 4 kB / 0.7991 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.02538, allocations: 0 / 0.7991 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.02546, allocations: 12 kB / 0.7991 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.02547, allocations: 0.9375 kB / 0.7991 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.02559, allocations: 7.984 kB / 0.7991 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.02562, allocations: 4 kB / 0.7991 GB, free: 15.53 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005362/0.02615, allocations: 233.4 kB / 0.7993 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.02625, allocations: 71.53 kB / 0.7994 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.02663, allocations: 161.2 kB / 0.7995 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.02663, allocations: 3.938 kB / 0.7995 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.02663, allocations: 1.125 kB / 0.7995 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.02664, allocations: 0 / 0.7995 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/0.02748, allocations: 0.5393 MB / 0.8001 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.02748, allocations: 0 / 0.8001 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.02753, allocations: 5.062 kB / 0.8001 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.02753, allocations: 4 kB / 0.8001 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.02755, allocations: 8.484 kB / 0.8001 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.02755, allocations: 0 / 0.8001 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02755, allocations: 1.594 kB / 0.8001 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.02792, allocations: 211.8 kB / 0.8003 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.02806, allocations: 71.52 kB / 0.8003 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.02812, allocations: 4 kB / 0.8003 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.02825, allocations: 4.844 kB / 0.8003 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.02832, allocations: 11.97 kB / 0.8004 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.02835, allocations: 4.5 kB / 0.8004 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009136/0.02926, allocations: 0.6122 MB / 0.801 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02926, allocations: 1.094 kB / 0.801 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003046/0.02956, allocations: 59.94 kB / 0.801 GB, free: 13.47 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003071/0.03264, allocations: 456.9 kB / 0.8015 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.03289, allocations: 71.59 kB / 0.8015 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.03289, allocations: 0 / 0.8015 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.03301, allocations: 51.59 kB / 0.8016 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.03378, allocations: 175.3 kB / 0.8017 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.03549, allocations: 0.9764 MB / 0.8027 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.03595, allocations: 363.7 kB / 0.803 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.03609, allocations: 30.97 kB / 0.8031 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.03616, allocations: 28.5 kB / 0.8031 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.03616, allocations: 0 / 0.8031 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of Templates: time 0.01459/0.05074, allocations: 6.415 MB / 0.8094 GB, free: 5.207 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.805631797993556]