Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005304/0.005304, allocations: 99.75 kB / 15.73 MB, free: 6.488 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.001191/0.001191, allocations: 196.4 kB / 16.68 MB, free: 6.371 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 67.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3708, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002738/0.3736, allocations: 1.153 MB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3755, allocations: 1.377 MB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.962e-05/0.3756, allocations: 4 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.116e-05/0.3756, allocations: 23.67 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.3758, allocations: 47.59 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.3765, allocations: 309.6 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.3769, allocations: 407.9 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.3771, allocations: 84.22 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3773, allocations: 159.5 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.3775, allocations: 159.3 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.3775, allocations: 44 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3776, allocations: 59.98 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.3777, allocations: 63.72 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.3778, allocations: 159.3 kB / 1.225 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.3784, allocations: 482.3 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3784, allocations: 7.938 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3784, allocations: 0 / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3784, allocations: 0 / 1.225 GB, free: 9.332 MB / 0.9825 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.0009295/0.3793, allocations: 0.6225 MB / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3794, allocations: 11.97 kB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.413e-05/0.3795, allocations: 36.75 kB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006338/0.3801, allocations: 331.8 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.3801, allocations: 20.38 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.3802, allocations: 24.38 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.3805, allocations: 177.8 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3805, allocations: 0 / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.3805, allocations: 7.938 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3805, allocations: 4 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.3807, allocations: 112 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.3817, allocations: 0.6992 MB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.3821, allocations: 150.8 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3822, allocations: 64.83 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3822, allocations: 4 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.3824, allocations: 133.1 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.3824, allocations: 0 / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.000433/0.3829, allocations: 219.4 kB / 1.228 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3829, allocations: 63.36 kB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.3831, allocations: 207.2 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.3831, allocations: 45.64 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3833, allocations: 148.8 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.3833, allocations: 47.64 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.3834, allocations: 77.67 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3836, allocations: 330.8 kB / 1.228 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3838, allocations: 103.9 kB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.384, allocations: 163.8 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3843, allocations: 214.2 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3843, allocations: 0 / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000561/0.3849, allocations: 361.4 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.138e-05/0.3849, allocations: 71.33 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3849, allocations: 3.938 kB / 1.229 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.385, allocations: 8.031 kB / 1.229 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.385, allocations: 19.92 kB / 1.229 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3851, allocations: 7.938 kB / 1.229 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.3854, allocations: 79.89 kB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.3855, allocations: 19.98 kB / 1.229 GB, free: 4.5 MB / 0.9825 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.0001603/0.3856, allocations: 148.1 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.3856, allocations: 23.84 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.3857, allocations: 29.8 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3857, allocations: 0 / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3857, allocations: 0 / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.3857, allocations: 0 / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.386, allocations: 297.4 kB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.386, allocations: 0 / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.3861, allocations: 19.98 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3861, allocations: 7.938 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3861, allocations: 0 / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3861, allocations: 4 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3861, allocations: 7.984 kB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.3864, allocations: 196.8 kB / 1.23 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.3865, allocations: 93.02 kB / 1.23 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.3865, allocations: 11.92 kB / 1.23 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.3866, allocations: 11.98 kB / 1.23 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.3867, allocations: 39.95 kB / 1.23 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3867, allocations: 8 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001107/0.3868, allocations: 148.2 kB / 1.23 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3868, allocations: 4 kB / 1.23 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002847/0.3871, allocations: 63.84 kB / 1.23 GB, free: 3.312 MB / 0.9825 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.0001787/0.3873, allocations: 120.1 kB / 1.231 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.3877, allocations: 309.3 kB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3877, allocations: 0 / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3879, allocations: 71.91 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.3882, allocations: 35.92 kB / 1.231 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.3889, allocations: 383.9 kB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3892, allocations: 0.7402 MB / 1.232 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.204e-05/0.3893, allocations: 29.94 kB / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.3893, allocations: 23.42 kB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3893, allocations: 0 / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of Templates: time 0.007264/0.3966, allocations: 3.518 MB / 1.236 GB, free: 14.06 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches