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.001623/0.001623, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002046/0.002046, allocations: 222.1 kB / 23 MB, free: 4.914 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.481/1.481, 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.228/3.228, allocations: 0.4892 GB / 0.7951 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.002126/0.002126, allocations: 66.23 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4137, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003797/0.4175, allocations: 1.952 MB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.4186, allocations: 450.6 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.4189, allocations: 4 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.4191, allocations: 39.59 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.4192, allocations: 39.66 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.4196, allocations: 103.8 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.42, allocations: 288.4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.4203, allocations: 97.12 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.4205, allocations: 103.6 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.4206, allocations: 95.47 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.4207, allocations: 36 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.356e-05/0.4207, allocations: 32 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.4208, allocations: 63.78 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.4209, allocations: 95.47 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.4213, allocations: 386.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4214, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.988e-06/0.4214, allocations: 3.984 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.4214, allocations: 0 / 1.33 GB, free: 14.1 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.001027/0.4224, allocations: 0.4906 MB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4224, allocations: 12.03 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.912e-05/0.4225, allocations: 28.75 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.423, allocations: 214.5 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.423, allocations: 16.75 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.423, allocations: 24.38 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.4236, allocations: 260 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4236, allocations: 3.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.4236, allocations: 12 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.4236, allocations: 4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.4241, allocations: 169 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.4253, allocations: 0.7051 MB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.4258, allocations: 186.6 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.426, allocations: 80.81 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.4261, allocations: 4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.4261, allocations: 38.55 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.4261, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006709/0.4268, allocations: 217.5 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.4269, allocations: 81.27 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.4271, allocations: 219.7 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.4271, allocations: 29.7 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.4273, allocations: 164.2 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.4273, allocations: 43.64 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.4274, allocations: 33.72 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4276, allocations: 334.8 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.4278, allocations: 68.72 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.428, allocations: 163 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.4284, allocations: 155.3 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4284, allocations: 0 / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004716/0.4288, allocations: 205.5 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4289, allocations: 4.094 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4289, allocations: 4 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4289, allocations: 4 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.429, allocations: 39.84 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4291, allocations: 4 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.4292, allocations: 27.88 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.4292, allocations: 4 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002182/0.4294, allocations: 156.1 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001913/0.4296, allocations: 148.5 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002835/0.4299, allocations: 136.7 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.4299, allocations: 0 / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003627/0.4303, allocations: 182.7 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4303, allocations: 8 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.4303, allocations: 0 / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/0.4303, allocations: 0 / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4304, allocations: 39.92 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4304, allocations: 7.938 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.4305, allocations: 23.86 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4305, allocations: 7.984 kB / 1.335 GB, free: 9.102 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.0001304/0.4307, allocations: 192.7 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.4307, allocations: 19.86 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.4308, allocations: 21.41 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4308, allocations: 3.938 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4308, allocations: 3.938 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.4308, allocations: 3.984 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.4311, allocations: 201.2 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4311, allocations: 0 / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.4312, allocations: 27.97 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4312, allocations: 4 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4312, allocations: 0 / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4312, allocations: 4 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4312, allocations: 3.938 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.4319, allocations: 351.2 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.4319, allocations: 19.86 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.432, allocations: 8 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.4321, allocations: 16.05 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.4321, allocations: 11.92 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4322, allocations: 4 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001542/0.4323, allocations: 153.5 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4323, allocations: 0 / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003739/0.4327, allocations: 67.78 kB / 1.336 GB, free: 7.957 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.0001306/0.4328, allocations: 99.23 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005889/0.4334, allocations: 218.7 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4334, allocations: 0 / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.4336, allocations: 63.91 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.434, allocations: 46.36 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008725/0.4349, allocations: 430.8 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.435, allocations: 130.2 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.4351, allocations: 23.38 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4351, allocations: 0 / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of Templates: time 0.005493/0.4406, allocations: 2.572 MB / 1.339 GB, free: 4.34 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.676522055640817]