Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.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.001601/0.001601, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002089/0.002089, allocations: 213.7 kB / 23 MB, free: 4.969 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.617/1.617, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.323/3.323, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.ControlLoops,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conLoo.TCooSet|conLoo.TZon|conLoo.THeaSet|conLoo.yCoo|conLoo.yHea",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conLoo.TCooSet|conLoo.TZon|conLoo.THeaSet|conLoo.yCoo|conLoo.yHea",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") [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.002331/0.002331, allocations: 67.94 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4218, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops): time 0.004645/0.4265, allocations: 2.221 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00339/0.4299, allocations: 1.681 MB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005501/0.4304, allocations: 23.88 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.4308, allocations: 118.7 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.4312, allocations: 107 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007577/0.432, allocations: 315.5 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.4331, allocations: 0.9075 MB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005947/0.4337, allocations: 326.9 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005411/0.4342, allocations: 342.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.4346, allocations: 334.3 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.4347, allocations: 104 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.4349, allocations: 104 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.435, allocations: 203.4 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.4353, allocations: 298.5 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.4367, allocations: 1.206 MB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4367, allocations: 4 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.582e-06/0.4367, allocations: 0 / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.169e-05/0.4367, allocations: 0 / 1.335 GB, free: 8.715 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002254/0.439, allocations: 1.068 MB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.439, allocations: 8.031 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.4393, allocations: 96.45 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009784/0.4403, allocations: 495.9 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.4403, allocations: 45.69 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.4404, allocations: 68.36 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.4417, allocations: 0.6792 MB / 1.338 GB, free: 6.172 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.4417, allocations: 4.125 kB / 1.338 GB, free: 6.168 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.4418, allocations: 35.92 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.4418, allocations: 12 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000954/0.4427, allocations: 453 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.4459, allocations: 1.712 MB / 1.34 GB, free: 3.906 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.447, allocations: 496.1 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.4475, allocations: 231 kB / 1.34 GB, free: 3.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.4475, allocations: 7.781 kB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006523/0.4482, allocations: 316.7 kB / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 2.836e-06/0.4482, allocations: 0 / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.001492/0.4497, allocations: 0.6706 MB / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.4497, allocations: 111.2 kB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.4503, allocations: 429.8 kB / 1.342 GB, free: 1.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/0.4503, allocations: 45.69 kB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.4506, allocations: 324.9 kB / 1.342 GB, free: 1.238 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.4508, allocations: 150.8 kB / 1.342 GB, free: 1.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.4509, allocations: 106.3 kB / 1.342 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4511, allocations: 362.8 kB / 1.343 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.4515, allocations: 179.4 kB / 1.343 GB, free: 448 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.4521, allocations: 410.5 kB / 1.343 GB, free: 15.97 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.4529, allocations: 413.7 kB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.4529, allocations: 0 / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001108/0.4541, allocations: 0.5307 MB / 1.344 GB, free: 14.99 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4541, allocations: 8 kB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4541, allocations: 0 / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.4541, allocations: 11.98 kB / 1.344 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.4545, allocations: 92.14 kB / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.4545, allocations: 4 kB / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.4549, allocations: 71.62 kB / 1.344 GB, free: 14.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.4549, allocations: 16 kB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005313/0.4555, allocations: 307.1 kB / 1.345 GB, free: 14.49 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004493/0.4559, allocations: 374.5 kB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005995/0.4565, allocations: 365.8 kB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/0.4565, allocations: 4 kB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008326/0.4573, allocations: 491.5 kB / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4574, allocations: 11.94 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.4574, allocations: 3.938 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.4574, allocations: 7.984 kB / 1.346 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.4577, allocations: 79.84 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4577, allocations: 8 kB / 1.346 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.458, allocations: 64 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.458, allocations: 20 kB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.conLoo.disCoo.u,$PRE.conLoo.disHea.u,$PRE.conLoo.disCoo.t_next,$whenCondition4,$PRE.conLoo.disHea.t_next,$whenCondition1,conLoo.disCoo.t_next,conLoo.disHea.t_next,conLoo.disHeaCon.y,conLoo.disCooCon.y,conLoo.zerCon1.lesHys.y,$PRE.conLoo.zerCon1.lesHys.y,conLoo.zerCon.lesHys.y,$PRE.conLoo.zerCon.lesHys.y,conLoo.disHea.y,conLoo.disHea.u,conLoo.disCoo.y,conLoo.disCoo.u,conLoo.enaCooLoo.lesHys.y,$PRE.conLoo.enaCooLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,$PRE.conLoo.enaHeaLoo.lesHys.y,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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.0002263/0.4582, allocations: 223.3 kB / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.4583, allocations: 55.61 kB / 1.346 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.4585, allocations: 61.17 kB / 1.346 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4585, allocations: 0 / 1.346 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4585, allocations: 4 kB / 1.346 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.868e-05/0.4585, allocations: 59.53 kB / 1.347 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.4586, allocations: 16 kB / 1.347 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.4589, allocations: 35.95 kB / 1.347 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.459, allocations: 52.42 kB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001262/0.4603, allocations: 0.6128 MB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001542/0.4618, allocations: 0.9429 MB / 1.348 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004049/0.4622, allocations: 207.5 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003538/0.4626, allocations: 287.2 kB / 1.349 GB, free: 10.42 MB / 1.045 GB Notification: Performance of Backend: time 7.61e-07/0.4626, allocations: 0 / 1.349 GB, free: 10.42 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.464, allocations: 0.5644 MB / 1.349 GB, free: 9.852 MB / 1.045 GB Notification: Performance of SimCode: time 0.002005/0.466, allocations: 1.399 MB / 1.351 GB, free: 8.395 MB / 1.045 GB Notification: Performance of Templates: time 0.01753/0.4835, allocations: 9.533 MB / 1.36 GB, free: 14.99 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.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: 9.737822833005339]