Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001448/0.001448, allocations: 105 kB / 16.45 MB, free: 6.488 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.001597/0.001597, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.69/1.69, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.414/3.414, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002188/0.002188, allocations: 72.81 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4735, allocations: 176.1 MB / 1.321 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002915/0.4764, allocations: 1.151 MB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.4787, allocations: 1.412 MB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.4789, allocations: 4 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.318e-05/0.479, allocations: 23.67 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.4791, allocations: 55.58 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/0.48, allocations: 298.7 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.4805, allocations: 407.8 kB / 1.325 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.4807, allocations: 84.23 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.4809, allocations: 159.5 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.4811, allocations: 159.3 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.4813, allocations: 44 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.4814, allocations: 59.98 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.4815, allocations: 59.77 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.4817, allocations: 163.3 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.4822, allocations: 494.2 kB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4822, allocations: 4 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4822, allocations: 0 / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4823, allocations: 0 / 1.326 GB, free: 14.32 MB / 1.029 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.001113/0.4834, allocations: 0.6109 MB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4834, allocations: 11.98 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.4835, allocations: 40.78 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.4842, allocations: 331.7 kB / 1.327 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.4843, allocations: 20.38 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.4843, allocations: 32.31 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.4846, allocations: 177.8 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4847, allocations: 0 / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.4847, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4847, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.4849, allocations: 116 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.4861, allocations: 0.6953 MB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.4866, allocations: 150.8 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.4868, allocations: 64.83 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.4868, allocations: 4 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.4871, allocations: 125.2 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.103e-06/0.4871, allocations: 0 / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005831/0.4877, allocations: 222.9 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.4877, allocations: 59.41 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.488, allocations: 222.7 kB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.4881, allocations: 37.7 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.4882, allocations: 144.8 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.4883, allocations: 47.64 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.4884, allocations: 77.67 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002284/0.4887, allocations: 338.8 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.4889, allocations: 103.9 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.4892, allocations: 158.8 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.4896, allocations: 217.4 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4896, allocations: 0 / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006589/0.4902, allocations: 364.7 kB / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.4903, allocations: 67.33 kB / 1.33 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4903, allocations: 3.984 kB / 1.33 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.4904, allocations: 4 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.879e-05/0.4905, allocations: 23.92 kB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.4905, allocations: 7.984 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.4909, allocations: 75.94 kB / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.4909, allocations: 15.98 kB / 1.33 GB, free: 9.5 MB / 1.029 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.0002041/0.4912, allocations: 155.5 kB / 1.33 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.4912, allocations: 31.8 kB / 1.33 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.864e-05/0.4913, allocations: 25.86 kB / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4913, allocations: 0 / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4913, allocations: 0 / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4913, allocations: 0 / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.4916, allocations: 293.5 kB / 1.331 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4917, allocations: 0 / 1.331 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.4917, allocations: 15.94 kB / 1.331 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4917, allocations: 7.938 kB / 1.331 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.4917, allocations: 11.92 kB / 1.331 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4917, allocations: 4 kB / 1.331 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.4917, allocations: 4 kB / 1.331 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.4921, allocations: 187 kB / 1.331 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/0.4922, allocations: 104.9 kB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.4922, allocations: 7.938 kB / 1.331 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.4923, allocations: 19.98 kB / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.4924, allocations: 35.95 kB / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.4924, allocations: 8 kB / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001366/0.4925, allocations: 144.6 kB / 1.331 GB, free: 8.363 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4925, allocations: 0 / 1.331 GB, free: 8.363 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000321/0.4929, allocations: 59.83 kB / 1.331 GB, free: 8.305 MB / 1.029 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.0001925/0.4931, allocations: 119.2 kB / 1.331 GB, free: 8.176 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.4936, allocations: 306.6 kB / 1.332 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4936, allocations: 0 / 1.332 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.4937, allocations: 71.91 kB / 1.332 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.494, allocations: 35.91 kB / 1.332 GB, free: 7.746 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007291/0.4947, allocations: 395 kB / 1.332 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4951, allocations: 0.744 MB / 1.333 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.394e-05/0.4952, allocations: 25.95 kB / 1.333 GB, free: 6.547 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/0.4953, allocations: 23.42 kB / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4953, allocations: 0 / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of Templates: time 0.00813/0.5034, allocations: 3.515 MB / 1.336 GB, free: 3.043 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.09681075019762]