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.0008448/0.0008449, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001073/0.001073, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.309 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.508/2.508, allocations: 390.9 MB / 0.666 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003781, allocations: 8 kB / 0.8154 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.854/0.8544, allocations: 142.4 MB / 0.9545 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001406/0.8558, allocations: 0.804 MB / 0.9552 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.8575, allocations: 1.345 MB / 0.9566 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.8576, allocations: 2.375 kB / 0.9566 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.8577, allocations: 15.8 kB / 0.9566 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.8578, allocations: 27.5 kB / 0.9566 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.8585, allocations: 236 kB / 0.9568 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.8589, allocations: 344.1 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.8591, allocations: 85.97 kB / 0.9572 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.8592, allocations: 115.9 kB / 0.9573 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.8594, allocations: 103.5 kB / 0.9574 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.8594, allocations: 13.31 kB / 0.9575 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-05/0.8595, allocations: 28.45 kB / 0.9575 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.8596, allocations: 36.53 kB / 0.9575 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.115e-05/0.8596, allocations: 69.55 kB / 0.9576 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.86, allocations: 364.9 kB / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.86, allocations: 0 / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.86, allocations: 0 / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.86, allocations: 0 / 0.9579 GB, free: 4.953 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.0007161/0.8607, allocations: 0.5662 MB / 0.9585 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.8608, allocations: 8.969 kB / 0.9585 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.8608, allocations: 33.64 kB / 0.9585 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.8615, allocations: 332.6 kB / 0.9588 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.8615, allocations: 20.16 kB / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.8616, allocations: 24.53 kB / 0.9589 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.8619, allocations: 170.1 kB / 0.959 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.8619, allocations: 1.375 kB / 0.9591 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.8619, allocations: 9.375 kB / 0.9591 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.8619, allocations: 4.125 kB / 0.9591 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.8621, allocations: 121.6 kB / 0.9592 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009088/0.8631, allocations: 0.6987 MB / 0.9599 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.8635, allocations: 167.6 kB / 0.96 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.8637, allocations: 64.47 kB / 0.9601 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.8637, allocations: 1.375 kB / 0.9601 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.8641, allocations: 142.4 kB / 0.9602 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 2.966e-06/0.8641, allocations: 0 / 0.9602 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.000624/0.8647, allocations: 219.7 kB / 0.9604 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.8648, allocations: 54.25 kB / 0.9605 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.8651, allocations: 213.4 kB / 0.9607 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.8652, allocations: 40.42 kB / 0.9607 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.8653, allocations: 150.7 kB / 0.9609 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.8654, allocations: 42.27 kB / 0.9609 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.8654, allocations: 8.312 kB / 0.9609 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.8655, allocations: 339.1 kB / 0.9612 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.8657, allocations: 96.64 kB / 0.9613 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.866, allocations: 154 kB / 0.9615 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.8662, allocations: 148.5 kB / 0.9616 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8662, allocations: 1.031 kB / 0.9616 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005742/0.8668, allocations: 360.5 kB / 0.962 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.8668, allocations: 64.64 kB / 0.962 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.8668, allocations: 0.9688 kB / 0.962 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.8669, allocations: 3 kB / 0.962 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.867, allocations: 16.8 kB / 0.962 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.867, allocations: 13.7 kB / 0.9621 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.8674, allocations: 104.5 kB / 0.9622 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.8674, allocations: 18.89 kB / 0.9622 GB, free: 1.531 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,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,$PRE.uCoo.booPul.y,uCoo.booPul.y,$PRE.uHea.booPul.y,uHea.booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.8676, allocations: 152.1 kB / 0.9623 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.8676, allocations: 19.88 kB / 0.9623 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.8677, allocations: 26.77 kB / 0.9624 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.8677, allocations: 1.969 kB / 0.9624 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.8677, allocations: 0 / 0.9624 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8677, allocations: 1.031 kB / 0.9624 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.868, allocations: 300.8 kB / 0.9627 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.868, allocations: 0.9688 kB / 0.9627 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.8681, allocations: 19.23 kB / 0.9627 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.8681, allocations: 1.031 kB / 0.9627 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.8681, allocations: 6.312 kB / 0.9627 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8681, allocations: 9.094 kB / 0.9627 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8681, allocations: 0 / 0.9627 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.8684, allocations: 200.5 kB / 0.9629 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.8685, allocations: 98.94 kB / 0.963 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.8685, allocations: 14.95 kB / 0.963 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.8686, allocations: 22.36 kB / 0.963 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.8687, allocations: 29.95 kB / 0.963 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.8687, allocations: 8.734 kB / 0.963 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001145/0.8688, allocations: 141.9 kB / 0.9632 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8689, allocations: 1.688 kB / 0.9632 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002946/0.8692, allocations: 66.5 kB / 0.9632 GB, free: 0.6328 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000177/0.8693, allocations: 117 kB / 0.9634 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004938/0.8698, allocations: 339.8 kB / 0.9637 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8699, allocations: 0 / 0.9637 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.87, allocations: 82.8 kB / 0.9638 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.8704, allocations: 33.05 kB / 0.9638 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.8711, allocations: 432 kB / 0.9642 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.8715, allocations: 0.7454 MB / 0.9649 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.8716, allocations: 23.92 kB / 0.965 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.8717, allocations: 24.64 kB / 0.965 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8717, allocations: 0 / 0.965 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.007708/0.8794, allocations: 3.064 MB / 0.968 GB, free: 13.66 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/jenkins/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