Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00115/0.00115, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001855/0.003005, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007068/0.0007068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009721/0.001679, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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 0.9601/0.9601, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07941/1.04, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.294/2.294, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2316/2.525, allocations: 146 MB / 0.8176 GB, free: 3.797 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.154e-05, allocations: 6.25 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.009496/0.009517, allocations: 2.263 MB / 0.8212 GB, free: 148 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003285/0.0128, allocations: 2.785 MB / 0.8239 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.01295, allocations: 3.938 kB / 0.8239 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.01413, allocations: 0.5013 MB / 0.8244 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.01447, allocations: 175 kB / 0.8246 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.01803, allocations: 210 kB / 0.8248 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.01852, allocations: 402 kB / 0.8251 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.01864, allocations: 33.19 kB / 0.8252 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.01902, allocations: 286.2 kB / 0.8254 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.01919, allocations: 115.7 kB / 0.8256 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.01922, allocations: 12 kB / 0.8256 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.01943, allocations: 67.89 kB / 0.8256 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.01956, allocations: 135.4 kB / 0.8258 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.952e-05/0.01966, allocations: 91.62 kB / 0.8258 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.02016, allocations: 418.3 kB / 0.8262 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.02017, allocations: 4 kB / 0.8262 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.283e-06/0.02017, allocations: 0 / 0.8262 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.02019, allocations: 0 / 0.8262 GB, free: 10.92 MB / 0.8073 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.004101/0.02429, allocations: 0.9191 MB / 0.8271 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.02432, allocations: 8.031 kB / 0.8272 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.0244, allocations: 44.89 kB / 0.8272 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.02479, allocations: 366.2 kB / 0.8275 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.02481, allocations: 4.375 kB / 0.8275 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.02483, allocations: 4.375 kB / 0.8276 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.02498, allocations: 103.4 kB / 0.8277 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.02499, allocations: 3.938 kB / 0.8277 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.025, allocations: 4 kB / 0.8277 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.02501, allocations: 4 kB / 0.8277 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.774e-05/0.02505, allocations: 11.98 kB / 0.8277 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.02547, allocations: 301.8 kB / 0.828 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.02569, allocations: 116.1 kB / 0.8281 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.02572, allocations: 20.84 kB / 0.8281 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.02573, allocations: 3.938 kB / 0.8281 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.02585, allocations: 103.9 kB / 0.8282 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.02585, allocations: 0 / 0.8282 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001743/0.02603, allocations: 101.7 kB / 0.8283 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.02605, allocations: 55.41 kB / 0.8283 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.02974, allocations: 0.7711 MB / 0.8291 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.02976, allocations: 33.7 kB / 0.8291 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.02988, allocations: 177.9 kB / 0.8293 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.02991, allocations: 15.89 kB / 0.8293 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.02995, allocations: 29.62 kB / 0.8293 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.03003, allocations: 310 kB / 0.8296 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.03006, allocations: 18.81 kB / 0.8297 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.03011, allocations: 48.28 kB / 0.8297 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.419e-05/0.03017, allocations: 51.27 kB / 0.8298 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.03017, allocations: 4.031 kB / 0.8298 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001416/0.03031, allocations: 116.3 kB / 0.8299 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.03033, allocations: 4 kB / 0.8299 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.03033, allocations: 0 / 0.8299 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.03035, allocations: 0 / 0.8299 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.03043, allocations: 19.98 kB / 0.8299 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.03043, allocations: 0 / 0.8299 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.03052, allocations: 11.89 kB / 0.8299 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.03053, allocations: 0 / 0.8299 GB, free: 6.957 MB / 0.8073 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.0001076/0.03064, allocations: 119.1 kB / 0.83 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.03069, allocations: 51.91 kB / 0.8301 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.03087, allocations: 124.1 kB / 0.8302 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.03087, allocations: 4 kB / 0.8302 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.03087, allocations: 0 / 0.8302 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.03087, allocations: 0 / 0.8302 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.03108, allocations: 197.7 kB / 0.8304 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.03108, allocations: 0 / 0.8304 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.03113, allocations: 8 kB / 0.8304 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.03119, allocations: 63.45 kB / 0.8304 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.0312, allocations: 0 / 0.8304 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.0312, allocations: 8 kB / 0.8305 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.0312, allocations: 4 kB / 0.8305 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.03121, allocations: 0 / 0.8305 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.03135, allocations: 126.6 kB / 0.8306 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.03139, allocations: 11.94 kB / 0.8306 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.03147, allocations: 3.984 kB / 0.8306 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.03151, allocations: 11.98 kB / 0.8306 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.03153, allocations: 4 kB / 0.8306 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003748/0.0319, allocations: 391.3 kB / 0.831 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.0319, allocations: 0 / 0.831 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002313/0.03214, allocations: 63.94 kB / 0.831 GB, free: 5.738 MB / 0.8073 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.004536/0.03667, allocations: 0.58 MB / 0.8316 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.03681, allocations: 44.72 kB / 0.8316 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/0.03682, allocations: 8 kB / 0.8317 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.03688, allocations: 32.83 kB / 0.8317 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.03772, allocations: 1.514 MB / 0.8332 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.04341, allocations: 0.8907 MB / 0.834 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.04366, allocations: 180 kB / 0.8342 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.04383, allocations: 43.41 kB / 0.8342 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.04404, allocations: 149.2 kB / 0.8344 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of SimCode: time 1.192e-06/0.04404, allocations: 0 / 0.8344 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of Templates: time 0.009186/0.05323, allocations: 7.313 MB / 0.8415 GB, free: 11.11 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.146018071100116]