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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001248/0.001249, allocations: 194.5 kB / 16.14 MB, free: 6.648 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.207/1.207, allocations: 222.9 MB / 239.8 MB, free: 4.555 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.046/2.046, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4997, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00209/0.5018, allocations: 1.197 MB / 0.9502 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.5034, allocations: 1.387 MB / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.5035, allocations: 2.844 kB / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.282e-05/0.5036, allocations: 11.86 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.5037, allocations: 34.62 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.5043, allocations: 268.2 kB / 0.9519 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.5046, allocations: 365.9 kB / 0.9522 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.5048, allocations: 113.2 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.5049, allocations: 124.9 kB / 0.9525 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.5051, allocations: 136.3 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.5052, allocations: 19.75 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.843e-05/0.5053, allocations: 34.14 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.5053, allocations: 45.3 kB / 0.9527 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.5054, allocations: 139.3 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.5058, allocations: 458.3 kB / 0.9533 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5058, allocations: 1.094 kB / 0.9533 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5058, allocations: 0 / 0.9533 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.5058, allocations: 0 / 0.9533 GB, free: 5.938 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.0008081/0.5066, allocations: 0.6099 MB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5067, allocations: 10.19 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.5067, allocations: 47.8 kB / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.319e-05/0.5068, allocations: 39.38 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.5074, allocations: 331.7 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.5075, allocations: 21.28 kB / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.5075, allocations: 31.44 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.5078, allocations: 176.3 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5078, allocations: 0 / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.5078, allocations: 10.41 kB / 0.9545 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5078, allocations: 4.406 kB / 0.9545 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.508, allocations: 111.1 kB / 0.9546 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/0.5088, allocations: 0.6919 MB / 0.9553 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.5092, allocations: 169.5 kB / 0.9555 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.5093, allocations: 70.02 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.5093, allocations: 1.25 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.5095, allocations: 138.6 kB / 0.9557 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.5095, allocations: 4 kB / 0.9557 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0003881/0.5099, allocations: 219 kB / 0.9559 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.5099, allocations: 59.03 kB / 0.9559 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.5101, allocations: 217.5 kB / 0.9561 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.5101, allocations: 36.73 kB / 0.9562 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.5102, allocations: 146.6 kB / 0.9563 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.5102, allocations: 47.25 kB / 0.9563 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.5104, allocations: 81.8 kB / 0.9564 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.5104, allocations: 334.4 kB / 0.9567 GB, free: 3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.5106, allocations: 97.8 kB / 0.9568 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.5108, allocations: 161.3 kB / 0.957 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.511, allocations: 218 kB / 0.9572 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5111, allocations: 0 / 0.9572 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004793/0.5115, allocations: 355.5 kB / 0.9575 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.5116, allocations: 69.02 kB / 0.9576 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5116, allocations: 0 / 0.9576 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.5116, allocations: 6.688 kB / 0.9576 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.5117, allocations: 17.86 kB / 0.9576 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5117, allocations: 5.375 kB / 0.9576 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.5121, allocations: 75.77 kB / 0.9577 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.5121, allocations: 18.98 kB / 0.9577 GB, free: 2.32 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.0001125/0.5122, allocations: 156.2 kB / 0.9579 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.5122, allocations: 23.91 kB / 0.9579 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.5123, allocations: 25.98 kB / 0.9579 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5123, allocations: 6.75 kB / 0.9579 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5123, allocations: 0 / 0.9579 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5123, allocations: 0 / 0.9579 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.5125, allocations: 298 kB / 0.9582 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5125, allocations: 0 / 0.9582 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.5126, allocations: 19.19 kB / 0.9582 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5126, allocations: 5.344 kB / 0.9582 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.5126, allocations: 6.859 kB / 0.9582 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5126, allocations: 0 / 0.9582 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5126, allocations: 0.75 kB / 0.9582 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.5129, allocations: 205.2 kB / 0.9584 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.5129, allocations: 98.88 kB / 0.9585 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.5129, allocations: 6.625 kB / 0.9585 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.513, allocations: 15.11 kB / 0.9586 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.5131, allocations: 33.27 kB / 0.9586 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.5131, allocations: 9.312 kB / 0.9586 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.96e-05/0.5132, allocations: 141.6 kB / 0.9587 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5132, allocations: 0 / 0.9587 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002727/0.5135, allocations: 59.33 kB / 0.9588 GB, free: 1.426 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.000417/0.5139, allocations: 0.7573 MB / 0.9595 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.5143, allocations: 332 kB / 0.9598 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5143, allocations: 0 / 0.9598 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.5145, allocations: 85.39 kB / 0.9599 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.5147, allocations: 43.5 kB / 0.96 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.5175, allocations: 2.483 MB / 0.9624 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.5178, allocations: 0.7413 MB / 0.9631 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.5179, allocations: 31.06 kB / 0.9631 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.518, allocations: 78.69 kB / 0.9632 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.518, allocations: 0 / 0.9632 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.5445, allocations: 5.001 MB / 0.9681 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.5448, allocations: 225.2 kB / 0.9683 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.18, allocations: 3.938 kB / 0.9683 GB, free: 11.07 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > 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