Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009904/0.0009904, allocations: 97.64 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.007496/0.007496, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.226/1.226, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.302/2.302, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 8 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5092, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001144/0.5103, allocations: 0.8474 MB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.5118, allocations: 1.389 MB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.5118, allocations: 4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.5119, allocations: 15.8 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.512, allocations: 23.78 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005821/0.5126, allocations: 275 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.5129, allocations: 363.9 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.513, allocations: 108.2 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.5132, allocations: 111.5 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.5133, allocations: 115.4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.5133, allocations: 15.94 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.5134, allocations: 27.92 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.5134, allocations: 35.84 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.5136, allocations: 145.1 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.5139, allocations: 444.8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5139, allocations: 7.938 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5139, allocations: 3.938 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.5139, allocations: 0 / 1.027 GB, free: 11.9 MB / 0.7794 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.0006209/0.5145, allocations: 0.5488 MB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.5146, allocations: 12.03 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.5146, allocations: 54.73 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.5147, allocations: 28.66 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.5153, allocations: 331.8 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.5153, allocations: 20.38 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.5154, allocations: 28.38 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.5156, allocations: 185.5 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.5157, allocations: 3.938 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.5157, allocations: 12 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.5157, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.5159, allocations: 111.9 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008288/0.5167, allocations: 0.7069 MB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.5171, allocations: 165.2 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.5172, allocations: 80.8 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.5172, allocations: 0 / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.5174, allocations: 127.3 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.5174, allocations: 0 / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0003585/0.5178, allocations: 222.5 kB / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.5178, allocations: 51.41 kB / 1.03 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.518, allocations: 222.8 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.518, allocations: 41.7 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.5181, allocations: 148.6 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.5181, allocations: 43.44 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.5182, allocations: 37.7 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.5183, allocations: 338.8 kB / 1.03 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.5185, allocations: 95.95 kB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5187, allocations: 164.3 kB / 1.031 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.5189, allocations: 215.5 kB / 1.031 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5189, allocations: 0 / 1.031 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004807/0.5194, allocations: 364.5 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.5195, allocations: 69.2 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5195, allocations: 0 / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5195, allocations: 4 kB / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.5196, allocations: 23.88 kB / 1.031 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5196, allocations: 4 kB / 1.031 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.52, allocations: 103.9 kB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.52, allocations: 16 kB / 1.031 GB, free: 7.074 MB / 0.7794 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.0001246/0.5201, allocations: 156.1 kB / 1.032 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.5202, allocations: 23.75 kB / 1.032 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.5202, allocations: 25.88 kB / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5202, allocations: 0 / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5202, allocations: 7.984 kB / 1.032 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5202, allocations: 0 / 1.032 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.5205, allocations: 293.4 kB / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5205, allocations: 8 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.5205, allocations: 11.98 kB / 1.032 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5205, allocations: 7.938 kB / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.5206, allocations: 4 kB / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5206, allocations: 3.938 kB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5206, allocations: 4 kB / 1.032 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.5208, allocations: 198.3 kB / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.5209, allocations: 104.7 kB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.5209, allocations: 4 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.521, allocations: 19.98 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.5211, allocations: 31.95 kB / 1.032 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.5211, allocations: 7.984 kB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.745e-05/0.5212, allocations: 156.2 kB / 1.032 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5212, allocations: 0 / 1.032 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002459/0.5214, allocations: 55.91 kB / 1.032 GB, free: 5.879 MB / 0.7794 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.0004768/0.5219, allocations: 0.7504 MB / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.5223, allocations: 346.6 kB / 1.033 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5223, allocations: 0 / 1.033 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.5225, allocations: 81.58 kB / 1.034 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.5227, allocations: 36.53 kB / 1.034 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.5252, allocations: 2.483 MB / 1.036 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.5254, allocations: 0.7403 MB / 1.037 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.17e-05/0.5255, allocations: 29.94 kB / 1.037 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.5256, allocations: 76.66 kB / 1.037 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5256, allocations: 0 / 1.037 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.296/3.822, allocations: 4.935 MB / 1.042 GB, free: 12.42 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005415/3.822, allocations: 222.9 kB / 1.042 GB, free: 12.17 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/5.505, allocations: 0 / 1.042 GB, free: 12.17 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches