Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 105.7 kB / 16.37 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 190 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 62.33 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3649, allocations: 140.4 MB / 0.9512 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002736/0.3677, allocations: 1.157 MB / 0.9523 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.3698, allocations: 1.374 MB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3699, allocations: 0 / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.304e-05/0.37, allocations: 23.67 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.3702, allocations: 43.58 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.371, allocations: 291.3 kB / 0.954 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.3715, allocations: 435.8 kB / 0.9544 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.3717, allocations: 116.2 kB / 0.9545 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.3719, allocations: 155.5 kB / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.3722, allocations: 159.3 kB / 0.9548 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.3722, allocations: 48 kB / 0.9548 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3724, allocations: 55.98 kB / 0.9549 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.3724, allocations: 59.78 kB / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.3726, allocations: 163.3 kB / 0.9551 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.3731, allocations: 486.5 kB / 0.9556 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3731, allocations: 0 / 0.9556 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3731, allocations: 0 / 0.9556 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3732, allocations: 0 / 0.9556 GB, free: 3.512 MB / 0.7325 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.0009523/0.3741, allocations: 0.6188 MB / 0.9562 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3742, allocations: 8.031 kB / 0.9562 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.3743, allocations: 32.66 kB / 0.9562 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/0.3749, allocations: 323.8 kB / 0.9565 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.375, allocations: 24.31 kB / 0.9565 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.375, allocations: 28.12 kB / 0.9566 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.3753, allocations: 173.5 kB / 0.9567 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3754, allocations: 0 / 0.9567 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.3754, allocations: 11.98 kB / 0.9567 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3754, allocations: 4 kB / 0.9567 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.3756, allocations: 115.9 kB / 0.9569 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.3766, allocations: 0.6795 MB / 0.9575 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.377, allocations: 170.8 kB / 0.9577 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3772, allocations: 64.84 kB / 0.9577 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3772, allocations: 7.938 kB / 0.9578 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.3775, allocations: 133.2 kB / 0.9579 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.3775, allocations: 0 / 0.9579 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004404/0.3779, allocations: 217.3 kB / 0.9581 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.378, allocations: 63.34 kB / 0.9582 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.3782, allocations: 219 kB / 0.9584 GB, free: 456 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.53e-05/0.3782, allocations: 37.7 kB / 0.9584 GB, free: 412 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3784, allocations: 140.5 kB / 0.9585 GB, free: 268 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.3784, allocations: 51.44 kB / 0.9586 GB, free: 216 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3786, allocations: 77.67 kB / 0.9587 GB, free: 132 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3787, allocations: 330.8 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.3789, allocations: 95.95 kB / 0.9591 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.3792, allocations: 158.8 kB / 0.9592 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.3795, allocations: 221.9 kB / 0.9594 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3795, allocations: 0 / 0.9594 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005668/0.38, allocations: 360.5 kB / 0.9598 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.3801, allocations: 63.53 kB / 0.9598 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3801, allocations: 4 kB / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3801, allocations: 0 / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.3802, allocations: 23.92 kB / 0.9599 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3802, allocations: 4 kB / 0.9599 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.3806, allocations: 75.77 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.3807, allocations: 19.98 kB / 0.9599 GB, free: 14.71 MB / 0.7481 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.0001705/0.3808, allocations: 151.5 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.3809, allocations: 27.64 kB / 0.9601 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.3809, allocations: 21.88 kB / 0.9601 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.381, allocations: 7.938 kB / 0.9601 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.381, allocations: 0 / 0.9601 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.381, allocations: 4.047 kB / 0.9602 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.3813, allocations: 293.5 kB / 0.9604 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3813, allocations: 3.938 kB / 0.9604 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.3814, allocations: 16 kB / 0.9605 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3814, allocations: 3.938 kB / 0.9605 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.3814, allocations: 11.98 kB / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3814, allocations: 0 / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3814, allocations: 3.938 kB / 0.9605 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.3817, allocations: 194.8 kB / 0.9607 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.3818, allocations: 104.8 kB / 0.9608 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.3818, allocations: 8 kB / 0.9608 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.3819, allocations: 11.98 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.382, allocations: 35.95 kB / 0.9608 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.382, allocations: 4 kB / 0.9608 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001111/0.3821, allocations: 144.6 kB / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3821, allocations: 0 / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002871/0.3824, allocations: 59.84 kB / 0.961 GB, free: 13.53 MB / 0.7481 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.0001831/0.3826, allocations: 123.2 kB / 0.9611 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005037/0.3831, allocations: 334.7 kB / 0.9614 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3831, allocations: 0 / 0.9614 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3833, allocations: 85.8 kB / 0.9615 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3836, allocations: 48.08 kB / 0.9616 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.3843, allocations: 372.3 kB / 0.9619 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3846, allocations: 0.7481 MB / 0.9627 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.395e-05/0.3847, allocations: 29.89 kB / 0.9627 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.3848, allocations: 27.42 kB / 0.9627 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/0.3848, allocations: 0 / 0.9627 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.007275/0.3921, allocations: 3.483 MB / 0.9661 GB, free: 8.25 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches