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.00525/0.00525, allocations: 101.7 kB / 15.73 MB, free: 6.047 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.001205/0.001205, allocations: 191.5 kB / 16.67 MB, free: 5.98 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.718/2.718, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 63.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3406, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002693/0.3433, allocations: 1.157 MB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.3455, allocations: 1.377 MB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.3457, allocations: 7.938 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.402e-05/0.3458, allocations: 23.67 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.346, allocations: 47.59 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000999/0.347, allocations: 290.1 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.3477, allocations: 439.8 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.348, allocations: 116.2 kB / 1.17 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.3482, allocations: 155.5 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.3485, allocations: 155.4 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-05/0.3486, allocations: 48 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3488, allocations: 59.92 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.3488, allocations: 59.83 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.3491, allocations: 159.3 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.3496, allocations: 486.2 kB / 1.171 GB, free: 2.812 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3496, allocations: 0 / 1.171 GB, free: 2.812 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3496, allocations: 0 / 1.171 GB, free: 2.812 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.398e-05/0.3496, allocations: 0 / 1.171 GB, free: 2.812 MB / 0.92 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.00109/0.3507, allocations: 0.6187 MB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3508, allocations: 12.03 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.49e-05/0.3509, allocations: 54.73 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.351, allocations: 28.66 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/0.3517, allocations: 331.3 kB / 1.172 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.3517, allocations: 24.33 kB / 1.172 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.3518, allocations: 28.36 kB / 1.172 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.3521, allocations: 177.7 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3521, allocations: 0 / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.3522, allocations: 11.98 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3522, allocations: 4 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.3524, allocations: 115.8 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3535, allocations: 0.6835 MB / 1.173 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.3539, allocations: 158.8 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.354, allocations: 84.75 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.3541, allocations: 0 / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.3543, allocations: 135.3 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.3543, allocations: 0 / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of matching and sorting (n=20): time 0.0004647/0.3548, allocations: 219.8 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.3548, allocations: 55.34 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3551, allocations: 212.1 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.3551, allocations: 45.62 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3552, allocations: 140.3 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.3553, allocations: 55.58 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3555, allocations: 77.67 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3556, allocations: 334.8 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3558, allocations: 99.95 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.3561, allocations: 155.8 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3564, allocations: 217.8 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3564, allocations: 0 / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005644/0.3569, allocations: 357.4 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.942e-05/0.357, allocations: 75.45 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.357, allocations: 0 / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3571, allocations: 4 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.3572, allocations: 23.92 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3572, allocations: 0 / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.3576, allocations: 75.77 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.3576, allocations: 19.98 kB / 1.175 GB, free: 13.93 MB / 0.9356 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.000174/0.3578, allocations: 151.5 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.3578, allocations: 19.75 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.568e-05/0.3579, allocations: 25.86 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3579, allocations: 4 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3579, allocations: 0 / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3579, allocations: 0 / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3582, allocations: 301.4 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3582, allocations: 0 / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.236e-05/0.3583, allocations: 15.98 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.3583, allocations: 3.938 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.3583, allocations: 8 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3583, allocations: 0 / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3583, allocations: 3.938 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.3586, allocations: 196.8 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.3587, allocations: 100.8 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.3587, allocations: 8 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.3588, allocations: 15.98 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.3589, allocations: 31.95 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.359, allocations: 11.98 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001156/0.3591, allocations: 143.4 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3591, allocations: 0 / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002889/0.3594, allocations: 59.84 kB / 1.176 GB, free: 12.75 MB / 0.9356 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.0006928/0.3601, allocations: 0.7551 MB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000493/0.3606, allocations: 340.8 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3606, allocations: 256 / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3607, allocations: 79.92 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.3611, allocations: 45.31 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.3642, allocations: 2.432 MB / 1.18 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3645, allocations: 0.744 MB / 1.18 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.869e-05/0.3646, allocations: 29.98 kB / 1.18 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3648, allocations: 75.41 kB / 1.18 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.3648, allocations: 0 / 1.18 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3913, allocations: 5.437 MB / 1.186 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.319, allocations: 6.25 kB / 1.186 GB, free: 2.801 MB / 0.9356 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