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.0008637/0.0008637, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004881/0.004881, allocations: 168.9 kB / 16.26 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.174/1.174, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.028/2.028, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002757, allocations: 12 kB / 0.8161 GB, free: 13.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5096, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.0009709/0.5106, allocations: 0.8487 MB / 0.956 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.5118, allocations: 1.383 MB / 0.9574 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.5119, allocations: 3.125 kB / 0.9574 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.5119, allocations: 11.86 kB / 0.9574 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.512, allocations: 35.59 kB / 0.9574 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.5126, allocations: 269.1 kB / 0.9577 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.5128, allocations: 357.9 kB / 0.958 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.513, allocations: 117.6 kB / 0.9581 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.5131, allocations: 115.6 kB / 0.9582 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.5132, allocations: 106.9 kB / 0.9583 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.5132, allocations: 17.73 kB / 0.9584 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.5133, allocations: 24.62 kB / 0.9584 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.5133, allocations: 39.97 kB / 0.9584 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.268e-05/0.5134, allocations: 149.9 kB / 0.9586 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.5137, allocations: 440.7 kB / 0.959 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.5137, allocations: 0 / 0.959 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5137, allocations: 0.5312 kB / 0.959 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.5137, allocations: 0 / 0.959 GB, free: 4.812 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.000549/0.5143, allocations: 0.5638 MB / 0.9595 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5143, allocations: 9.812 kB / 0.9595 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.5144, allocations: 53.11 kB / 0.9596 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.5144, allocations: 30.06 kB / 0.9596 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.515, allocations: 340.6 kB / 0.9599 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.515, allocations: 20.09 kB / 0.96 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.515, allocations: 40.58 kB / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.5153, allocations: 163.6 kB / 0.9602 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.5153, allocations: 1.094 kB / 0.9602 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.5153, allocations: 8.984 kB / 0.9602 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5153, allocations: 4.281 kB / 0.9602 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.5155, allocations: 112.5 kB / 0.9603 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.5162, allocations: 0.7037 MB / 0.961 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.5166, allocations: 165.4 kB / 0.9611 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.5167, allocations: 73.23 kB / 0.9612 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.5167, allocations: 1.906 kB / 0.9612 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.5169, allocations: 146.6 kB / 0.9613 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.5169, allocations: 0 / 0.9613 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0003502/0.5172, allocations: 219.3 kB / 0.9615 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.5173, allocations: 57.69 kB / 0.9616 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.5174, allocations: 215.2 kB / 0.9618 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.5175, allocations: 39.91 kB / 0.9618 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.5175, allocations: 143.4 kB / 0.962 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.5176, allocations: 50.62 kB / 0.962 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.5176, allocations: 45.78 kB / 0.9621 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.149e-05/0.5177, allocations: 330.8 kB / 0.9624 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.5178, allocations: 101.1 kB / 0.9625 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.518, allocations: 162.9 kB / 0.9626 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.5182, allocations: 212.5 kB / 0.9628 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5183, allocations: 5.406 kB / 0.9628 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004559/0.5187, allocations: 361.1 kB / 0.9632 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.5188, allocations: 65.53 kB / 0.9632 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5188, allocations: 2.312 kB / 0.9633 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.5188, allocations: 1.25 kB / 0.9633 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.5189, allocations: 17.92 kB / 0.9633 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5189, allocations: 9.953 kB / 0.9633 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.5193, allocations: 107.4 kB / 0.9634 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.5193, allocations: 19.08 kB / 0.9634 GB, free: 1.227 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.0001069/0.5194, allocations: 144.5 kB / 0.9635 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.5194, allocations: 24.36 kB / 0.9636 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.5195, allocations: 21.91 kB / 0.9636 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.5195, allocations: 6.031 kB / 0.9636 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.5195, allocations: 4.844 kB / 0.9636 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5195, allocations: 0 / 0.9636 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.5197, allocations: 305.1 kB / 0.9639 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5197, allocations: 5.266 kB / 0.9639 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.5198, allocations: 15.62 kB / 0.9639 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5198, allocations: 1.125 kB / 0.9639 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.5198, allocations: 5.547 kB / 0.9639 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5198, allocations: 1.469 kB / 0.9639 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5198, allocations: 0 / 0.9639 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.52, allocations: 206.6 kB / 0.9641 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.52, allocations: 101.2 kB / 0.9642 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.5201, allocations: 7.312 kB / 0.9642 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.5202, allocations: 15.17 kB / 0.9642 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.5202, allocations: 33.23 kB / 0.9643 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.5203, allocations: 12.89 kB / 0.9643 GB, free: 464 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.794e-05/0.5203, allocations: 145.9 kB / 0.9644 GB, free: 352 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5203, allocations: 5.312 kB / 0.9644 GB, free: 348 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002464/0.5206, allocations: 54.66 kB / 0.9645 GB, free: 340 kB / 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.000453/0.5211, allocations: 0.751 MB / 0.9652 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003925/0.5215, allocations: 332.6 kB / 0.9655 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5215, allocations: 0 / 0.9655 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.5216, allocations: 82.16 kB / 0.9656 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.5219, allocations: 39.59 kB / 0.9656 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.5245, allocations: 2.493 MB / 0.9681 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.5247, allocations: 0.7451 MB / 0.9688 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.664e-05/0.5248, allocations: 20.45 kB / 0.9688 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.5249, allocations: 80.23 kB / 0.9689 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.525, allocations: 1.062 kB / 0.9689 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5811/1.106, allocations: 4.925 MB / 0.9737 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.106, allocations: 217.1 kB / 0.9739 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.681, allocations: 0 / 0.9739 GB, free: 10.08 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