Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001629/0.001629, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002087/0.002087, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.351/3.351, allocations: 0.49 GB / 0.7958 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002093/0.002093, allocations: 69.3 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004091/0.362, allocations: 2.204 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.3662, allocations: 2.838 MB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.3664, allocations: 7.938 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.3679, allocations: 0.5483 MB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.3683, allocations: 167.2 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.3689, allocations: 197.5 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005913/0.3695, allocations: 386.2 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3696, allocations: 29.27 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.3699, allocations: 139.4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.3701, allocations: 163.1 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.3702, allocations: 12 kB / 1.334 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.3704, allocations: 67.94 kB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.3706, allocations: 131.5 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.3708, allocations: 238.3 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008963/0.3717, allocations: 0.7273 MB / 1.335 GB, free: 9.582 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3717, allocations: 0 / 1.335 GB, free: 9.582 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3717, allocations: 0 / 1.335 GB, free: 9.582 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.3717, allocations: 0 / 1.335 GB, free: 9.582 MB / 1.029 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.001398/0.3731, allocations: 0.8663 MB / 1.336 GB, free: 8.676 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3731, allocations: 8.031 kB / 1.336 GB, free: 8.668 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.3732, allocations: 80.42 kB / 1.336 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/0.3739, allocations: 399 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3739, allocations: 4.375 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.3739, allocations: 4.125 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.3742, allocations: 112 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3742, allocations: 4 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3742, allocations: 0 / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3742, allocations: 0 / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3743, allocations: 43.97 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008198/0.3751, allocations: 0.4957 MB / 1.337 GB, free: 7.453 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.3755, allocations: 98.64 kB / 1.337 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.3756, allocations: 32.84 kB / 1.337 GB, free: 7.312 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.3756, allocations: 0 / 1.337 GB, free: 7.312 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.3758, allocations: 95.38 kB / 1.337 GB, free: 7.207 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3758, allocations: 0 / 1.337 GB, free: 7.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004525/0.3763, allocations: 197.2 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.3764, allocations: 110.8 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.3775, allocations: 0.9267 MB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3775, allocations: 29.7 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.3779, allocations: 331.9 kB / 1.339 GB, free: 5.574 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3779, allocations: 7.906 kB / 1.339 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.3779, allocations: 33.7 kB / 1.339 GB, free: 5.527 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3781, allocations: 309.9 kB / 1.339 GB, free: 5.219 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.3782, allocations: 27.98 kB / 1.339 GB, free: 5.191 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.3783, allocations: 80.2 kB / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3784, allocations: 65.7 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3784, allocations: 0 / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002963/0.3787, allocations: 181.1 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3788, allocations: 4 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3788, allocations: 8.031 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3788, allocations: 0 / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.3789, allocations: 19.98 kB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3789, allocations: 0 / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.379, allocations: 11.89 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.379, allocations: 4 kB / 1.339 GB, free: 4.797 MB / 1.029 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.0003425/0.3794, allocations: 327.1 kB / 1.34 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.161e-05/0.3794, allocations: 75.47 kB / 1.34 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.3798, allocations: 188.6 kB / 1.34 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3798, allocations: 0 / 1.34 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.3798, allocations: 3.938 kB / 1.34 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3798, allocations: 3.938 kB / 1.34 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.3802, allocations: 368.5 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3802, allocations: 0 / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.3803, allocations: 11.92 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3803, allocations: 0 / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3803, allocations: 4 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3803, allocations: 0 / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3803, allocations: 0 / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.3806, allocations: 208.5 kB / 1.34 GB, free: 3.551 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3807, allocations: 59.53 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.3808, allocations: 11.98 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3809, allocations: 0 / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.3809, allocations: 11.98 kB / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.381, allocations: 7.938 kB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008773/0.3818, allocations: 0.6864 MB / 1.341 GB, free: 2.777 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3818, allocations: 4 kB / 1.341 GB, free: 2.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003078/0.3822, allocations: 63.92 kB / 1.341 GB, free: 2.711 MB / 1.029 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 (7): * Single equations (assignments): 5 * 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.001637/0.3838, allocations: 430.3 kB / 1.342 GB, free: 2.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.384, allocations: 67.97 kB / 1.342 GB, free: 2.379 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.384, allocations: 0 / 1.342 GB, free: 2.379 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3841, allocations: 35.92 kB / 1.342 GB, free: 2.344 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.3848, allocations: 171 kB / 1.342 GB, free: 2.184 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3866, allocations: 1.204 MB / 1.343 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/0.3873, allocations: 0.998 MB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.3874, allocations: 27.42 kB / 1.344 GB, free: 15.89 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.3874, allocations: 0 / 1.344 GB, free: 15.89 MB / 1.045 GB Notification: Performance of Templates: time 0.01138/0.3988, allocations: 7.24 MB / 1.351 GB, free: 8.715 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.075956990011036]