Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008685/0.008685, allocations: 98.66 kB / 15.73 MB, free: 5.988 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.001531/0.001531, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.601/2.601, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001203, allocations: 62.38 kB / 0.9508 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3364, allocations: 140.4 MB / 1.088 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002961/0.3394, allocations: 1.158 MB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002654/0.3421, allocations: 1.374 MB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.3424, allocations: 4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.3426, allocations: 27.66 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.343, allocations: 47.59 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.3443, allocations: 292.9 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006656/0.345, allocations: 423.9 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.3453, allocations: 124.1 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.3456, allocations: 163.5 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.3459, allocations: 151.4 kB / 1.092 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.346, allocations: 48 kB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3462, allocations: 59.98 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.613e-05/0.3463, allocations: 59.72 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.3465, allocations: 163.3 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006855/0.3472, allocations: 490.2 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3472, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3472, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.3472, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 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.001426/0.3487, allocations: 0.6225 MB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3487, allocations: 8.031 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.3489, allocations: 32.8 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007789/0.3497, allocations: 324 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.3497, allocations: 20.38 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.3498, allocations: 36.06 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.3502, allocations: 173.5 kB / 1.094 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3502, allocations: 7.984 kB / 1.094 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.3502, allocations: 4 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3502, allocations: 4 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.3504, allocations: 112 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.3516, allocations: 0.6914 MB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.352, allocations: 170.1 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3521, allocations: 64.84 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3522, allocations: 4 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.3524, allocations: 135.2 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.3524, allocations: 0 / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004901/0.3529, allocations: 223 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.353, allocations: 63.33 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.3532, allocations: 211 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.3533, allocations: 33.7 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3534, allocations: 148.8 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.087e-05/0.3535, allocations: 55.62 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.3536, allocations: 77.67 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3538, allocations: 330.8 kB / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.354, allocations: 95.95 kB / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.3543, allocations: 167.7 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.3546, allocations: 217.3 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3546, allocations: 0 / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006205/0.3552, allocations: 368.2 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/0.3553, allocations: 65.25 kB / 1.097 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.3553, allocations: 8 kB / 1.097 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3554, allocations: 3.938 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.3554, allocations: 15.98 kB / 1.097 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.3555, allocations: 4 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.3559, allocations: 79.8 kB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.3559, allocations: 20 kB / 1.097 GB, free: 8.266 MB / 0.8575 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.000187/0.3561, allocations: 147.5 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.3562, allocations: 27.78 kB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.3562, allocations: 21.88 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3562, allocations: 48 / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.3563, allocations: 7.984 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3563, allocations: 7.984 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.3566, allocations: 289.5 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3566, allocations: 3.938 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.3567, allocations: 19.94 kB / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3567, allocations: 0 / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3567, allocations: 3.984 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.3567, allocations: 4 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3567, allocations: 0 / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.3571, allocations: 203.1 kB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.3571, allocations: 104.8 kB / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.3572, allocations: 8 kB / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.3573, allocations: 7.984 kB / 1.098 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3574, allocations: 39.89 kB / 1.098 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.3574, allocations: 4 kB / 1.098 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001359/0.3576, allocations: 148.4 kB / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3576, allocations: 0 / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003109/0.3579, allocations: 67.88 kB / 1.098 GB, free: 7.078 MB / 0.8575 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.000198/0.3581, allocations: 115.2 kB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005584/0.3586, allocations: 342.5 kB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3587, allocations: 0 / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.3588, allocations: 79.88 kB / 1.098 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3592, allocations: 58.09 kB / 1.098 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007002/0.3599, allocations: 364 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.3604, allocations: 0.748 MB / 1.099 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.801e-05/0.3605, allocations: 21.95 kB / 1.1 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.3605, allocations: 31.36 kB / 1.1 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3605, allocations: 0 / 1.1 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of Templates: time 0.008346/0.3689, allocations: 3.493 MB / 1.103 GB, free: 1.793 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches