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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 214.1 kB / 22.99 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.865/2.865, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 68.88 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3469, allocations: 169.9 MB / 1.284 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00275/0.3497, allocations: 1.086 MB / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002159/0.3518, allocations: 1.389 MB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.352, allocations: 4 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.216e-05/0.352, allocations: 23.67 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3522, allocations: 51.59 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.353, allocations: 295.4 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.3535, allocations: 411.8 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.3537, allocations: 88.78 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.3539, allocations: 159.5 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.3541, allocations: 139.3 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.067e-05/0.3542, allocations: 44 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.3543, allocations: 59.92 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.3544, allocations: 55.84 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.3545, allocations: 143.4 kB / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.3551, allocations: 494.2 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3551, allocations: 0 / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3551, allocations: 0 / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.3551, allocations: 0 / 1.288 GB, free: 7.594 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.000972/0.3561, allocations: 0.5568 MB / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3561, allocations: 8.031 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.3562, allocations: 28.8 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.3569, allocations: 270.1 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.3569, allocations: 24.33 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.357, allocations: 24.38 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.3573, allocations: 173.8 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3573, allocations: 4 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.3574, allocations: 8 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3574, allocations: 4 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.3576, allocations: 115.9 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.3586, allocations: 0.5429 MB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.359, allocations: 150.8 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3591, allocations: 65.11 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3592, allocations: 11.88 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.3595, allocations: 123.3 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.3595, allocations: 0 / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004944/0.36, allocations: 227.5 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.36, allocations: 55.41 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.3603, allocations: 210.9 kB / 1.291 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.3604, allocations: 41.7 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3605, allocations: 152.6 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.3605, allocations: 47.58 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.3607, allocations: 81.61 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.3609, allocations: 334.8 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.3612, allocations: 163.3 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.3615, allocations: 300.6 kB / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.3619, allocations: 214.6 kB / 1.292 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3619, allocations: 4 kB / 1.292 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006521/0.3625, allocations: 427.4 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/0.3626, allocations: 70.05 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3626, allocations: 4 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.3626, allocations: 3.938 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.3627, allocations: 15.94 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3627, allocations: 4 kB / 1.292 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.3631, allocations: 83.92 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.3631, allocations: 16 kB / 1.292 GB, free: 2.793 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.000186/0.3633, allocations: 151.5 kB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.3634, allocations: 19.86 kB / 1.293 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.3634, allocations: 25.75 kB / 1.293 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3634, allocations: 15.92 kB / 1.293 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3635, allocations: 0 / 1.293 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3635, allocations: 3.938 kB / 1.293 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.3637, allocations: 209.1 kB / 1.293 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3637, allocations: 4 kB / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.3638, allocations: 23.92 kB / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3638, allocations: 0 / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3638, allocations: 0 / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3638, allocations: 7.938 kB / 1.293 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3638, allocations: 0 / 1.293 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.3641, allocations: 201 kB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.3642, allocations: 23.86 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3642, allocations: 4 kB / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.3643, allocations: 15.92 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3644, allocations: 35.94 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3644, allocations: 4 kB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001423/0.3646, allocations: 148.4 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3646, allocations: 0 / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003185/0.3649, allocations: 67.88 kB / 1.293 GB, free: 1.793 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.0002163/0.3651, allocations: 119.2 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005782/0.3657, allocations: 372 kB / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3657, allocations: 0 / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3658, allocations: 71.86 kB / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3662, allocations: 40.22 kB / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007925/0.3669, allocations: 417.5 kB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.3671, allocations: 134.2 kB / 1.294 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.3672, allocations: 27.44 kB / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3672, allocations: 0 / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of Templates: time 0.006489/0.3736, allocations: 3.38 MB / 1.298 GB, free: 13.18 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.190793374087662]