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.001354/0.001354, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00143/0.00143, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.674/2.674, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 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.002033/0.002033, allocations: 63.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3362, allocations: 169.9 MB / 1.117 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002438/0.3387, allocations: 1.09 MB / 1.119 GB, free: 1.469 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3405, allocations: 1.393 MB / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.963e-05/0.3406, allocations: 4 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.94e-05/0.3407, allocations: 23.67 kB / 1.12 GB, free: 36 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.3408, allocations: 47.59 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.3416, allocations: 291.5 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.342, allocations: 411.8 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.3422, allocations: 84.8 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.3424, allocations: 159.5 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.3426, allocations: 143.3 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.3427, allocations: 47.94 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3428, allocations: 55.98 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.3429, allocations: 59.83 kB / 1.121 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.343, allocations: 139.4 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.3435, allocations: 486.3 kB / 1.122 GB, free: 14.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3435, allocations: 4 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3435, allocations: 3.938 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3435, allocations: 4 kB / 1.122 GB, free: 14.14 MB / 1.076 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.0008641/0.3444, allocations: 0.5355 MB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3444, allocations: 12.03 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.3445, allocations: 28.8 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.3452, allocations: 274 kB / 1.123 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.3452, allocations: 16.38 kB / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.3453, allocations: 32.38 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.3456, allocations: 169.9 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3456, allocations: 0 / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.3456, allocations: 4 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3456, allocations: 4 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.3458, allocations: 123.8 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009101/0.3467, allocations: 0.539 MB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.3471, allocations: 158.8 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3472, allocations: 68.75 kB / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.3473, allocations: 0 / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.3475, allocations: 131.3 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.3475, allocations: 0 / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0004481/0.3479, allocations: 223.8 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.348, allocations: 55.41 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.3482, allocations: 219 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.3482, allocations: 41.7 kB / 1.124 GB, free: 11.37 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3484, allocations: 144.8 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.3484, allocations: 51.62 kB / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.3485, allocations: 81.61 kB / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3487, allocations: 334.8 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.3489, allocations: 163.3 kB / 1.125 GB, free: 10.58 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.3493, allocations: 304.1 kB / 1.125 GB, free: 10.23 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.3495, allocations: 220.4 kB / 1.126 GB, free: 9.988 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3496, allocations: 0 / 1.126 GB, free: 9.988 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006195/0.3502, allocations: 424.1 kB / 1.126 GB, free: 9.543 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.3502, allocations: 67.39 kB / 1.126 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3502, allocations: 0 / 1.126 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3503, allocations: 7.938 kB / 1.126 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.3503, allocations: 15.94 kB / 1.126 GB, free: 9.441 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3503, allocations: 7.984 kB / 1.126 GB, free: 9.434 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.3507, allocations: 79.94 kB / 1.126 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.3508, allocations: 11.98 kB / 1.126 GB, free: 9.344 MB / 1.076 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.0001617/0.3509, allocations: 155.8 kB / 1.126 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.351, allocations: 19.86 kB / 1.126 GB, free: 9.164 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.351, allocations: 37.67 kB / 1.126 GB, free: 9.133 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.351, allocations: 3.938 kB / 1.126 GB, free: 9.129 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.351, allocations: 4 kB / 1.126 GB, free: 9.125 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3511, allocations: 4 kB / 1.126 GB, free: 9.121 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.3513, allocations: 205.1 kB / 1.127 GB, free: 8.891 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3513, allocations: 0 / 1.127 GB, free: 8.891 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.3513, allocations: 15.98 kB / 1.127 GB, free: 8.875 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3513, allocations: 0 / 1.127 GB, free: 8.875 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3514, allocations: 4 kB / 1.127 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3514, allocations: 7.938 kB / 1.127 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3514, allocations: 4 kB / 1.127 GB, free: 8.859 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.3517, allocations: 196.9 kB / 1.127 GB, free: 8.648 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.3517, allocations: 19.86 kB / 1.127 GB, free: 8.629 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.3517, allocations: 4 kB / 1.127 GB, free: 8.625 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.3518, allocations: 19.92 kB / 1.127 GB, free: 8.605 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.3519, allocations: 35.94 kB / 1.127 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.3519, allocations: 7.984 kB / 1.127 GB, free: 8.562 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001295/0.3521, allocations: 148.4 kB / 1.127 GB, free: 8.418 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3521, allocations: 0 / 1.127 GB, free: 8.418 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002793/0.3523, allocations: 59.89 kB / 1.127 GB, free: 8.359 MB / 1.076 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.0001514/0.3525, allocations: 119.1 kB / 1.127 GB, free: 8.234 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005325/0.353, allocations: 376.4 kB / 1.127 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.353, allocations: 0 / 1.127 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.3531, allocations: 71.91 kB / 1.128 GB, free: 7.762 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3535, allocations: 48.19 kB / 1.128 GB, free: 7.715 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.3541, allocations: 382.7 kB / 1.128 GB, free: 7.312 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.3542, allocations: 134.2 kB / 1.128 GB, free: 7.164 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.073e-05/0.3543, allocations: 21.95 kB / 1.128 GB, free: 7.141 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.3544, allocations: 36.36 kB / 1.128 GB, free: 7.105 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.3544, allocations: 0 / 1.128 GB, free: 7.105 MB / 1.076 GB Notification: Performance of Templates: time 0.00762/0.362, allocations: 3.769 MB / 1.132 GB, free: 3.414 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.746260804007761]