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.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 196 kB / 16.53 MB, free: 6.656 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.222/2.222, allocations: 437 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.89 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4575, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002079/0.4596, allocations: 1.155 MB / 1.019 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.4611, allocations: 1.377 MB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.4613, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.892e-05/0.4613, allocations: 23.67 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.4615, allocations: 39.59 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.4621, allocations: 284.5 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.4625, allocations: 423.9 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.4627, allocations: 121.7 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.4628, allocations: 159.5 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.463, allocations: 139.4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.561e-05/0.4631, allocations: 48 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.4632, allocations: 63.98 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.4632, allocations: 67.72 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.4634, allocations: 159.3 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.4637, allocations: 468.9 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4638, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4638, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4638, allocations: 0 / 1.022 GB, free: 14.01 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.0007276/0.4645, allocations: 0.6149 MB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.4645, allocations: 8.031 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.4646, allocations: 62.72 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.4647, allocations: 28.66 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/0.4653, allocations: 327.6 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.4653, allocations: 20.31 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.4654, allocations: 32.38 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.4656, allocations: 173.6 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4656, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.4656, allocations: 12 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4657, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.4658, allocations: 115.9 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.4667, allocations: 0.6951 MB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.467, allocations: 170.8 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.632e-05/0.4671, allocations: 68.83 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.4671, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.4674, allocations: 139.2 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.4674, allocations: 4 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0003683/0.4677, allocations: 215 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.4678, allocations: 51.41 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.4679, allocations: 215 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.468, allocations: 37.7 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.4681, allocations: 144.7 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.4681, allocations: 43.44 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.4682, allocations: 77.67 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.4683, allocations: 338.8 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.4685, allocations: 103.9 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.4687, allocations: 159.2 kB / 1.026 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.469, allocations: 217.1 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.469, allocations: 0 / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004898/0.4695, allocations: 365 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.4695, allocations: 67.33 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4695, allocations: 0 / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4696, allocations: 4 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.4696, allocations: 16.12 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4696, allocations: 7.984 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.47, allocations: 79.75 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.47, allocations: 16 kB / 1.026 GB, free: 9.129 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.0001209/0.4702, allocations: 155.5 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.4702, allocations: 27.59 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.4703, allocations: 29.91 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4703, allocations: 3.984 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4703, allocations: 3.938 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4703, allocations: 0 / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.4705, allocations: 293.5 kB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4705, allocations: 0 / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.4706, allocations: 23.92 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4706, allocations: 7.938 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4706, allocations: 4 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4706, allocations: 0 / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4706, allocations: 0 / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.4708, allocations: 198.6 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.4709, allocations: 100.8 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.4709, allocations: 4 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.471, allocations: 23.92 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.4711, allocations: 31.95 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4711, allocations: 11.98 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.788e-05/0.4712, allocations: 148.2 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4712, allocations: 0 / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002446/0.4715, allocations: 55.91 kB / 1.027 GB, free: 7.934 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.000471/0.4719, allocations: 0.7627 MB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.4724, allocations: 346.6 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4724, allocations: 4 kB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.4725, allocations: 75.86 kB / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.4728, allocations: 47.34 kB / 1.029 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.4751, allocations: 2.414 MB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.4754, allocations: 0.744 MB / 1.032 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.042e-05/0.4755, allocations: 21.95 kB / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.4756, allocations: 79.41 kB / 1.032 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.4756, allocations: 0 / 1.032 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.836/4.311, allocations: 5.389 MB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.746/13.06, allocations: 14.78 kB / 1.037 GB, free: 14.01 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