Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.001653/0.001653, allocations: 117.2 kB / 17.13 MB, free: 5.945 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.001797/0.001797, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.97/2.97, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [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.002036/0.002036, allocations: 71.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9751/0.9771, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00207/0.9792, allocations: 1.156 MB / 1.323 GB, free: 24.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.9807, allocations: 1.405 MB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.9808, allocations: 2.906 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.306e-05/0.9808, allocations: 29.77 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.981, allocations: 51.66 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.9816, allocations: 290.7 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.982, allocations: 415.5 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.9821, allocations: 89 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.9823, allocations: 160.3 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.9824, allocations: 150 kB / 1.326 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.9825, allocations: 50.34 kB / 1.326 GB, free: 22.56 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.9826, allocations: 61.94 kB / 1.326 GB, free: 22.56 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.9826, allocations: 62.94 kB / 1.326 GB, free: 22.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.9827, allocations: 162.8 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.9831, allocations: 491.6 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9831, allocations: 0 / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9831, allocations: 0 / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.9831, allocations: 0 / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007537/0.9839, allocations: 0.6226 MB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.9839, allocations: 11.61 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.984, allocations: 34.95 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005902/0.9846, allocations: 328.5 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.9846, allocations: 21.5 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.9847, allocations: 24.72 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.985, allocations: 174.5 kB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.985, allocations: 4.812 kB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.985, allocations: 8.781 kB / 1.328 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.985, allocations: 3.938 kB / 1.328 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.9853, allocations: 111.6 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.9862, allocations: 0.6865 MB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.9866, allocations: 159.5 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.9868, allocations: 63.86 kB / 1.329 GB, free: 20.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.9868, allocations: 1.844 kB / 1.329 GB, free: 20.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.9871, allocations: 133.2 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/0.9871, allocations: 0.5938 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005221/0.9876, allocations: 220.6 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.9876, allocations: 59.12 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.9879, allocations: 211.4 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.9879, allocations: 41.86 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.988, allocations: 145.7 kB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.9881, allocations: 58.8 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.9882, allocations: 82.36 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.9883, allocations: 338.1 kB / 1.33 GB, free: 19.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.9885, allocations: 101 kB / 1.33 GB, free: 19.67 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.9888, allocations: 158.7 kB / 1.33 GB, free: 19.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.9891, allocations: 213.7 kB / 1.33 GB, free: 19.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9891, allocations: 0 / 1.33 GB, free: 19.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000627/0.9897, allocations: 361.6 kB / 1.331 GB, free: 19.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.9897, allocations: 71.16 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9898, allocations: 6.078 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.9898, allocations: 2.375 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.9899, allocations: 19.05 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.9899, allocations: 2.609 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.9903, allocations: 80.17 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.9904, allocations: 22.72 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0001515/0.9905, allocations: 148.8 kB / 1.331 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.9905, allocations: 25.62 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.9906, allocations: 24.34 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.9906, allocations: 6.281 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9906, allocations: 0 / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.9906, allocations: 1.875 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.9909, allocations: 297.5 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9909, allocations: 1.219 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.991, allocations: 18.03 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.991, allocations: 5.031 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.991, allocations: 3.172 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.991, allocations: 0.625 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.991, allocations: 1.297 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.9913, allocations: 199.1 kB / 1.331 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.9913, allocations: 99.2 kB / 1.332 GB, free: 18.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.9914, allocations: 11.55 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.9915, allocations: 10.34 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.9916, allocations: 33.92 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.9916, allocations: 6.359 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001203/0.9917, allocations: 147.6 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9917, allocations: 0 / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003205/0.992, allocations: 63.67 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.0001618/0.9922, allocations: 116.3 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.9927, allocations: 314.5 kB / 1.332 GB, free: 18.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9927, allocations: 0 / 1.332 GB, free: 18.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.9929, allocations: 70.67 kB / 1.332 GB, free: 17.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.9932, allocations: 48.17 kB / 1.332 GB, free: 17.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.9939, allocations: 411.7 kB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.9941, allocations: 0.7436 MB / 1.333 GB, free: 16.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.9941, allocations: 27.83 kB / 1.334 GB, free: 16.97 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9941, allocations: 0 / 1.334 GB, free: 16.97 MB / 1.061 GB Notification: Performance of Templates: time 0.007879/1.002, allocations: 3.321 MB / 1.337 GB, free: 16.62 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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: 11.731974870999693]