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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001412/0.001412, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001614/0.001614, allocations: 198.1 kB / 16.26 MB, free: 6.621 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.2/2.2, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4724, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002096/0.4745, allocations: 1.211 MB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.476, allocations: 1.366 MB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.4761, allocations: 7.938 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.863e-05/0.4762, allocations: 11.86 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.4763, allocations: 27.78 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.4769, allocations: 271.1 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.4773, allocations: 419.9 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.4775, allocations: 120.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.4777, allocations: 155.5 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.4778, allocations: 143.3 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.4779, allocations: 48 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.146e-05/0.478, allocations: 59.98 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.4781, allocations: 63.77 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.4782, allocations: 159.3 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.4786, allocations: 480.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.4786, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4786, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4786, allocations: 0 / 1.021 GB, free: 14.21 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.0007657/0.4794, allocations: 0.6227 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.4794, allocations: 8.031 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.4795, allocations: 46.73 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.4795, allocations: 32.66 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.4801, allocations: 323.9 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.4802, allocations: 20.38 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.4802, allocations: 28.38 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.4805, allocations: 185.6 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4805, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4805, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.4806, allocations: 4 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.4807, allocations: 112 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008511/0.4816, allocations: 0.7029 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.482, allocations: 166.8 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.4821, allocations: 68.83 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.4821, allocations: 4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.4823, allocations: 129.2 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.4823, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.000372/0.4827, allocations: 221.3 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.4827, allocations: 55.41 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.4829, allocations: 222.7 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.483, allocations: 37.7 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.4831, allocations: 148.6 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.4831, allocations: 43.45 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4832, allocations: 81.67 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.4833, allocations: 326.8 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.4835, allocations: 103.9 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.4837, allocations: 162.7 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.484, allocations: 213.8 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.484, allocations: 0 / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005039/0.4845, allocations: 360.6 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.4846, allocations: 73.05 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4846, allocations: 4.125 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.4846, allocations: 4 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.4847, allocations: 23.92 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4847, allocations: 0 / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.485, allocations: 75.77 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.4851, allocations: 19.98 kB / 1.026 GB, free: 9.328 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.0001305/0.4852, allocations: 152.1 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.4852, allocations: 27.59 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.4853, allocations: 25.86 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4853, allocations: 4 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4853, allocations: 0 / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4853, allocations: 4 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.4855, allocations: 293.4 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4855, allocations: 4 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/0.4856, allocations: 23.92 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4856, allocations: 3.938 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4856, allocations: 4 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4856, allocations: 0 / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4856, allocations: 3.984 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.4859, allocations: 198.1 kB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.4859, allocations: 96.8 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.486, allocations: 15.98 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.4861, allocations: 11.98 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.4861, allocations: 31.95 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.4862, allocations: 4 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.81e-05/0.4863, allocations: 152.2 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4863, allocations: 0 / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002589/0.4865, allocations: 59.91 kB / 1.027 GB, free: 8.141 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.0004914/0.487, allocations: 0.7582 MB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.4875, allocations: 348.6 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4875, allocations: 3.938 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.4876, allocations: 84.16 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.4879, allocations: 39.17 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.4904, allocations: 2.47 MB / 1.03 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.4907, allocations: 0.7402 MB / 1.031 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.502e-05/0.4908, allocations: 29.94 kB / 1.031 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.4909, allocations: 75.41 kB / 1.031 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.4909, allocations: 0 / 1.031 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2242/0.7151, allocations: 5.184 MB / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.7153, allocations: 221.9 kB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.462, allocations: 3.625 kB / 1.037 GB, free: 14.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