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.001019/0.001019, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.506/1.506, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.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.513/2.513, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003582, allocations: 15.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.863/0.8633, allocations: 142.4 MB / 0.9557 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001435/0.8648, allocations: 0.8511 MB / 0.9566 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.8666, allocations: 1.377 MB / 0.9579 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.8667, allocations: 2.406 kB / 0.9579 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.432e-05/0.8668, allocations: 15.8 kB / 0.9579 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.8669, allocations: 31.53 kB / 0.9579 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007147/0.8676, allocations: 262.6 kB / 0.9582 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.868, allocations: 370.4 kB / 0.9586 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.8682, allocations: 113.9 kB / 0.9587 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.8684, allocations: 111.7 kB / 0.9588 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.8685, allocations: 110.8 kB / 0.9589 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.8686, allocations: 17.75 kB / 0.9589 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.8687, allocations: 31.17 kB / 0.9589 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.8687, allocations: 32.09 kB / 0.959 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.8689, allocations: 146 kB / 0.9591 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.8692, allocations: 368.5 kB / 0.9594 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8692, allocations: 0 / 0.9594 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8692, allocations: 1.375 kB / 0.9594 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8692, allocations: 0 / 0.9594 GB, free: 5.184 MB / 0.7169 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.0007329/0.8699, allocations: 0.5646 MB / 0.96 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.87, allocations: 8.969 kB / 0.96 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.213e-05/0.8701, allocations: 30.84 kB / 0.96 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.8707, allocations: 342 kB / 0.9604 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.8708, allocations: 25.33 kB / 0.9604 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.8708, allocations: 31.41 kB / 0.9604 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.8711, allocations: 165 kB / 0.9606 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8712, allocations: 3.938 kB / 0.9606 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.8712, allocations: 10.3 kB / 0.9606 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.8712, allocations: 3.281 kB / 0.9606 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.8714, allocations: 111.1 kB / 0.9607 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009552/0.8724, allocations: 0.709 MB / 0.9614 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.8728, allocations: 166.6 kB / 0.9615 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.8729, allocations: 69.42 kB / 0.9616 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.8729, allocations: 1.75 kB / 0.9616 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.8732, allocations: 137.7 kB / 0.9617 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.8732, allocations: 4 kB / 0.9617 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004638/0.8736, allocations: 222.7 kB / 0.962 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.8737, allocations: 58.34 kB / 0.962 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.8739, allocations: 214.6 kB / 0.9622 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.8739, allocations: 39.75 kB / 0.9623 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.874, allocations: 151.8 kB / 0.9624 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.8741, allocations: 41.91 kB / 0.9624 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.8742, allocations: 46.34 kB / 0.9625 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.8742, allocations: 331.2 kB / 0.9628 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.8745, allocations: 100.7 kB / 0.9629 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.8747, allocations: 158.6 kB / 0.963 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.875, allocations: 217.3 kB / 0.9633 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.875, allocations: 0 / 0.9633 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005606/0.8756, allocations: 361.9 kB / 0.9636 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.8756, allocations: 64.75 kB / 0.9637 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8756, allocations: 1.125 kB / 0.9637 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.8756, allocations: 2.281 kB / 0.9637 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.346e-05/0.8757, allocations: 21.2 kB / 0.9637 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.8758, allocations: 6.406 kB / 0.9637 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.8762, allocations: 110.9 kB / 0.9638 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.8763, allocations: 12.28 kB / 0.9638 GB, free: 1.66 MB / 0.7169 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.0001514/0.8764, allocations: 148 kB / 0.964 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.8765, allocations: 31.61 kB / 0.964 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.457e-05/0.8765, allocations: 22.81 kB / 0.964 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.8766, allocations: 2.312 kB / 0.964 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8766, allocations: 0 / 0.964 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8766, allocations: 3.984 kB / 0.964 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.8768, allocations: 294.4 kB / 0.9643 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8768, allocations: 3.938 kB / 0.9643 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.325e-05/0.8769, allocations: 15.94 kB / 0.9643 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8769, allocations: 1.031 kB / 0.9643 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.8769, allocations: 5.328 kB / 0.9643 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.8769, allocations: 4.906 kB / 0.9643 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8769, allocations: 5.062 kB / 0.9643 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.8772, allocations: 197.6 kB / 0.9645 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.8773, allocations: 102.1 kB / 0.9646 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.8773, allocations: 10.39 kB / 0.9646 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.8774, allocations: 23.05 kB / 0.9646 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.8775, allocations: 29.92 kB / 0.9647 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.8775, allocations: 12.98 kB / 0.9647 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001005/0.8776, allocations: 141.6 kB / 0.9648 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8776, allocations: 1.031 kB / 0.9648 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002939/0.8779, allocations: 58.22 kB / 0.9649 GB, free: 0.7656 MB / 0.7169 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.0001684/0.8781, allocations: 112.8 kB / 0.965 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004699/0.8786, allocations: 343.6 kB / 0.9653 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8786, allocations: 1.375 kB / 0.9653 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.8787, allocations: 75.11 kB / 0.9654 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.8791, allocations: 45.16 kB / 0.9654 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.8797, allocations: 479.6 kB / 0.9659 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.8801, allocations: 0.7465 MB / 0.9666 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.8802, allocations: 20.31 kB / 0.9666 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.8802, allocations: 1.094 kB / 0.9666 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.006344/0.8865, allocations: 3.283 MB / 0.9698 GB, free: 13.58 MB / 0.7325 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 -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