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.001565/0.001565, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001812/0.001812, allocations: 220 kB / 23.04 MB, free: 4.844 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.762 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.148/3.148, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002873/0.002873, allocations: 63.03 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4143, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.00377/0.4181, allocations: 1.956 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.4192, allocations: 446.8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.4193, allocations: 7.938 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.4195, allocations: 43.53 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.4196, allocations: 31.67 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.4199, allocations: 103.9 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.4202, allocations: 296.4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.4204, allocations: 89.14 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.4206, allocations: 103.6 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.4207, allocations: 95.47 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.4208, allocations: 32 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.909e-05/0.4208, allocations: 32 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.4209, allocations: 67.78 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.421, allocations: 91.53 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.4214, allocations: 390.4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4214, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4214, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.4214, allocations: 0 / 1.331 GB, free: 13.2 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.0009235/0.4224, allocations: 0.4916 MB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4224, allocations: 8.031 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.962e-05/0.4225, allocations: 28.75 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.4229, allocations: 218.5 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4229, allocations: 16.81 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.4229, allocations: 24.38 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.4234, allocations: 260 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4234, allocations: 3.938 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.4235, allocations: 11.94 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4235, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.4239, allocations: 181 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.425, allocations: 0.6935 MB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.4255, allocations: 174.7 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.4257, allocations: 92.81 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.4257, allocations: 3.984 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4258, allocations: 34.78 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.4258, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006521/0.4264, allocations: 221.4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.4265, allocations: 84.98 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.4267, allocations: 227.7 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.4268, allocations: 25.7 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.4269, allocations: 160.2 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.4269, allocations: 43.62 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.427, allocations: 33.72 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4271, allocations: 330.8 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.4273, allocations: 76.72 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.4276, allocations: 160.5 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.4279, allocations: 155.2 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.4279, allocations: 4 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004512/0.4284, allocations: 201.5 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4284, allocations: 4 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4284, allocations: 4 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4284, allocations: 0 / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.4286, allocations: 43.84 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4286, allocations: 0 / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.4287, allocations: 27.88 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.4287, allocations: 12.08 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002182/0.429, allocations: 156.1 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001876/0.4291, allocations: 142.2 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002726/0.4294, allocations: 140.7 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.21e-07/0.4294, allocations: 0 / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003621/0.4298, allocations: 190.8 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.4298, allocations: 4 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.4298, allocations: 0 / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.4298, allocations: 4 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4299, allocations: 27.98 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.4299, allocations: 3.938 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.43, allocations: 24 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.43, allocations: 12 kB / 1.335 GB, free: 8.195 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.0001298/0.4302, allocations: 188.7 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.4302, allocations: 23.8 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.4303, allocations: 17.41 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4303, allocations: 7.922 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4303, allocations: 0 / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4303, allocations: 0 / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.4306, allocations: 201.2 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4306, allocations: 0 / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.4307, allocations: 39.91 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4307, allocations: 0 / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.4307, allocations: 4 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4307, allocations: 3.938 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4307, allocations: 3.938 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.4314, allocations: 335.3 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.4314, allocations: 35.88 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.4315, allocations: 0 / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.4316, allocations: 11.98 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.4316, allocations: 15.92 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.4316, allocations: 0 / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001478/0.4318, allocations: 153.5 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4318, allocations: 3.938 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003614/0.4322, allocations: 75.77 kB / 1.336 GB, free: 7.047 MB / 1.029 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.0001246/0.4323, allocations: 103.2 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005624/0.4328, allocations: 213.7 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4328, allocations: 0 / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.433, allocations: 72.27 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.4334, allocations: 39.97 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.4342, allocations: 429.1 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.4344, allocations: 130.2 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.4344, allocations: 15.44 kB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4344, allocations: 0 / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of Templates: time 0.004943/0.4394, allocations: 2.58 MB / 1.34 GB, free: 3.434 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: 11.776653826935217]