Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.001594/0.001594, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001562/0.001562, allocations: 209.9 kB / 23 MB, free: 4.934 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.395/3.395, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [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.002119/0.002119, allocations: 77.64 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4271, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003789/0.4309, allocations: 1.948 MB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009684/0.4319, allocations: 450.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.432, allocations: 7.938 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.4322, allocations: 35.61 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.4323, allocations: 39.66 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.4326, allocations: 103.8 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.433, allocations: 296.5 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.4332, allocations: 101.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.4334, allocations: 103.6 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.4335, allocations: 103.5 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.4336, allocations: 32 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.4336, allocations: 36 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.4337, allocations: 55.84 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.4338, allocations: 99.45 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.4342, allocations: 390.5 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4342, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4342, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4343, allocations: 0 / 1.331 GB, free: 13.22 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009467/0.4352, allocations: 0.4945 MB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4353, allocations: 12.02 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.4353, allocations: 28.75 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.4357, allocations: 218.5 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.4358, allocations: 20.81 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.4358, allocations: 16.38 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.4363, allocations: 264 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4363, allocations: 3.938 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.4363, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.4364, allocations: 8 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.4368, allocations: 177 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.4379, allocations: 0.6896 MB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.4384, allocations: 166.7 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.4387, allocations: 100.8 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.4387, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.4387, allocations: 34.78 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.4387, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006625/0.4394, allocations: 225.4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.4394, allocations: 88.98 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.4397, allocations: 219.8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.4397, allocations: 25.7 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4398, allocations: 160.2 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.4399, allocations: 51.62 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.44, allocations: 33.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4401, allocations: 330.8 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.4403, allocations: 72.72 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.4406, allocations: 158.4 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.4409, allocations: 165.8 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4409, allocations: 3.984 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004524/0.4414, allocations: 197.5 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4414, allocations: 8 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4414, allocations: 0 / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4414, allocations: 0 / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.4416, allocations: 39.91 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4416, allocations: 3.938 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.4417, allocations: 31.86 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.4418, allocations: 4 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002207/0.442, allocations: 160.1 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001911/0.4422, allocations: 140.5 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000275/0.4425, allocations: 147.2 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.4425, allocations: 0 / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003516/0.4428, allocations: 181.5 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.4428, allocations: 4 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4428, allocations: 7.984 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-06/0.4428, allocations: 0 / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.443, allocations: 31.92 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.443, allocations: 3.984 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.4431, allocations: 27.86 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.4431, allocations: 8.094 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001398/0.4432, allocations: 192.7 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.4433, allocations: 19.86 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.4433, allocations: 21.39 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4433, allocations: 0 / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4433, allocations: 3.938 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.4434, allocations: 19.91 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.4434, allocations: 0 / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.4435, allocations: 19.97 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.4436, allocations: 15.92 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005205/0.4441, allocations: 244.9 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006923/0.4448, allocations: 435 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001785/0.445, allocations: 71.97 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001506/0.4451, allocations: 153.5 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of Backend: time 4.31e-07/0.4451, allocations: 0 / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000716/0.4458, allocations: 241.7 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of SimCode: time 0.001082/0.4469, allocations: 0.8231 MB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of Templates: time 0.006964/0.4539, allocations: 3.052 MB / 1.34 GB, free: 2.895 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.505997878994094]