Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 111.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002298/0.002298, allocations: 190.9 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 1.109 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 168.7 MB / 1.274 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004026/1.036, allocations: 2.053 MB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001078/1.037, allocations: 442.7 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/1.037, allocations: 4 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002053/1.037, allocations: 43.53 kB / 1.277 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001814/1.037, allocations: 39.66 kB / 1.277 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/1.038, allocations: 115.7 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000419/1.038, allocations: 288.4 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/1.039, allocations: 104.6 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/1.039, allocations: 99.58 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/1.039, allocations: 103.5 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/1.039, allocations: 32 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.377e-05/1.039, allocations: 32 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/1.039, allocations: 63.83 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/1.039, allocations: 127.3 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004916/1.04, allocations: 385.2 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.04, allocations: 0 / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/1.04, allocations: 4 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.04, allocations: 0 / 1.278 GB, free: 0.6719 MB / 0.9669 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.001071/1.041, allocations: 0.5698 MB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/1.041, allocations: 12.02 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/1.041, allocations: 24.8 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/1.041, allocations: 280.3 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/1.041, allocations: 16.81 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/1.041, allocations: 20.31 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/1.042, allocations: 242.3 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.042, allocations: 3.938 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/1.042, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/1.042, allocations: 4 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/1.042, allocations: 177 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/1.044, allocations: 0.8407 MB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/1.044, allocations: 178.7 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/1.045, allocations: 92.75 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/1.045, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.045, allocations: 30.56 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/1.045, allocations: 0 / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0006621/1.045, allocations: 229.4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/1.045, allocations: 81.27 kB / 1.281 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/1.046, allocations: 239.2 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/1.046, allocations: 33.64 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/1.046, allocations: 160.3 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/1.046, allocations: 43.64 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/1.046, allocations: 29.72 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.046, allocations: 330.8 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/1.046, allocations: 80.75 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/1.046, allocations: 103 kB / 1.282 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/1.047, allocations: 162.7 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/1.047, allocations: 0 / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005053/1.047, allocations: 213.5 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.047, allocations: 4 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.047, allocations: 4 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.047, allocations: 7.938 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/1.048, allocations: 39.91 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/1.048, allocations: 4 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/1.048, allocations: 27.86 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/1.048, allocations: 4 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002389/1.048, allocations: 160.1 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001727/1.048, allocations: 93.03 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003116/1.048, allocations: 139.4 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/1.048, allocations: 0 / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003867/1.049, allocations: 181.4 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/1.049, allocations: 8 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/1.049, allocations: 0 / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/1.049, allocations: 0 / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.049, allocations: 39.95 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.049, allocations: 4 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/1.049, allocations: 23.91 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/1.049, allocations: 7.938 kB / 1.283 GB, free: 11.47 MB / 0.9825 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.0001525/1.049, allocations: 188.2 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/1.049, allocations: 19.86 kB / 1.283 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/1.049, allocations: 33.31 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.049, allocations: 0 / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.049, allocations: 4 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.049, allocations: 0 / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/1.05, allocations: 301.5 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.05, allocations: 0 / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/1.05, allocations: 27.97 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.05, allocations: 0 / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.05, allocations: 7.938 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.05, allocations: 3.938 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.05, allocations: 3.984 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/1.051, allocations: 359.2 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/1.051, allocations: 96.94 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/1.051, allocations: 7.938 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/1.051, allocations: 16.05 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/1.051, allocations: 11.98 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/1.051, allocations: 8 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000186/1.051, allocations: 172.5 kB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.051, allocations: 0 / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004113/1.052, allocations: 67.78 kB / 1.284 GB, free: 10.08 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0001608/1.052, allocations: 99.78 kB / 1.284 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006675/1.052, allocations: 215.2 kB / 1.284 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.052, allocations: 0 / 1.284 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/1.053, allocations: 67.89 kB / 1.284 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/1.053, allocations: 46 kB / 1.284 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.054, allocations: 392.8 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/1.055, allocations: 0.744 MB / 1.285 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001006/1.055, allocations: 13.55 kB / 1.285 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/1.055, allocations: 19.44 kB / 1.285 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/1.055, allocations: 3.938 kB / 1.285 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of Templates: time 0.006703/1.061, allocations: 2.076 MB / 1.287 GB, free: 6.383 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.311070666182786]