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.001682/0.001682, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002654/0.002654, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.624/1.624, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.965/2.965, allocations: 476 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 68.42 kB / 1.117 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4466, allocations: 169.9 MB / 1.283 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004591/0.4512, allocations: 2.131 MB / 1.285 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004518/0.4557, allocations: 2.527 MB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.4559, allocations: 3.938 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.4576, allocations: 0.4938 MB / 1.288 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.4581, allocations: 167.2 kB / 1.288 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.4587, allocations: 202.1 kB / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.4592, allocations: 386.1 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.4594, allocations: 29.27 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.4596, allocations: 135.4 kB / 1.289 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.4598, allocations: 163.1 kB / 1.289 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.4599, allocations: 8 kB / 1.289 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.4601, allocations: 75.94 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.4603, allocations: 131.5 kB / 1.289 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.4605, allocations: 162.7 kB / 1.289 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009053/0.4614, allocations: 0.7235 MB / 1.29 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.568e-05/0.4614, allocations: 0 / 1.29 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4614, allocations: 0 / 1.29 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.4614, allocations: 0 / 1.29 GB, free: 12.32 MB / 0.9981 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.001583/0.463, allocations: 0.874 MB / 1.291 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.4631, allocations: 8.031 kB / 1.291 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.4632, allocations: 76.42 kB / 1.291 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.4639, allocations: 395 kB / 1.291 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.4639, allocations: 8.375 kB / 1.291 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.464, allocations: 8.125 kB / 1.292 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.4643, allocations: 150.6 kB / 1.292 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4643, allocations: 0 / 1.292 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.4643, allocations: 4 kB / 1.292 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4643, allocations: 0 / 1.292 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.4644, allocations: 47.97 kB / 1.292 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000915/0.4654, allocations: 468.2 kB / 1.292 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.4658, allocations: 98.64 kB / 1.292 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/0.4659, allocations: 32.84 kB / 1.292 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.4659, allocations: 4 kB / 1.292 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.4662, allocations: 109.1 kB / 1.292 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.4662, allocations: 4 kB / 1.292 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005265/0.4667, allocations: 205.1 kB / 1.293 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/0.4668, allocations: 89.11 kB / 1.293 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.4681, allocations: 0.9267 MB / 1.294 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.4682, allocations: 25.7 kB / 1.294 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.4685, allocations: 324 kB / 1.294 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.4686, allocations: 19.84 kB / 1.294 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.4686, allocations: 25.7 kB / 1.294 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4688, allocations: 309.9 kB / 1.294 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/0.4689, allocations: 35.97 kB / 1.294 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.469, allocations: 122.7 kB / 1.294 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.4692, allocations: 81.72 kB / 1.294 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4692, allocations: 0 / 1.294 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002832/0.4695, allocations: 173.1 kB / 1.295 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4695, allocations: 8 kB / 1.295 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4695, allocations: 0 / 1.295 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4695, allocations: 0 / 1.295 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.4696, allocations: 16 kB / 1.295 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4696, allocations: 0 / 1.295 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.4698, allocations: 11.94 kB / 1.295 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4698, allocations: 4.219 kB / 1.295 GB, free: 7.477 MB / 0.9981 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.0003824/0.4702, allocations: 329.5 kB / 1.295 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.4702, allocations: 79.47 kB / 1.295 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.4706, allocations: 192.4 kB / 1.295 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4706, allocations: 0 / 1.295 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4706, allocations: 0 / 1.295 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4706, allocations: 0 / 1.295 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.4711, allocations: 329.1 kB / 1.296 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.4711, allocations: 7.984 kB / 1.296 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.4711, allocations: 4 kB / 1.296 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4711, allocations: 8 kB / 1.296 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4711, allocations: 3.984 kB / 1.296 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4711, allocations: 3.938 kB / 1.296 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4711, allocations: 0 / 1.296 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.4715, allocations: 212.5 kB / 1.296 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.4716, allocations: 67.47 kB / 1.296 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.4716, allocations: 7.984 kB / 1.296 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.4718, allocations: 4 kB / 1.296 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.4718, allocations: 7.984 kB / 1.296 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.4718, allocations: 8 kB / 1.296 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009143/0.4728, allocations: 0.6864 MB / 1.297 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4728, allocations: 0 / 1.297 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000338/0.4731, allocations: 67.92 kB / 1.297 GB, free: 5.418 MB / 0.9981 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.001821/0.4749, allocations: 449.5 kB / 1.297 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.4752, allocations: 75.91 kB / 1.297 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4752, allocations: 0 / 1.297 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.4753, allocations: 39.91 kB / 1.297 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/0.476, allocations: 171.8 kB / 1.297 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.4779, allocations: 1.163 MB / 1.298 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.4784, allocations: 399.6 kB / 1.299 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.4786, allocations: 51.25 kB / 1.299 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.4787, allocations: 23.44 kB / 1.299 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/0.4787, allocations: 0 / 1.299 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of Templates: time 0.01557/0.4942, allocations: 7.176 MB / 1.306 GB, free: 12.19 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] 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: 10.057482652366161]