Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.001635/0.001635, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00234/0.00234, allocations: 213.7 kB / 22.99 MB, free: 4.945 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.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476 MB / 0.7707 GB, free: 4.699 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [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.002134/0.002134, allocations: 69.34 kB / 1.118 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3605, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003152/0.3637, allocations: 1.779 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003038/0.364, allocations: 121.4 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.3641, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.3642, allocations: 15.8 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.849e-05/0.3643, allocations: 55.55 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.3644, allocations: 31.95 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.3646, allocations: 171.1 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3647, allocations: 25.22 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.009e-05/0.3648, allocations: 55.8 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3649, allocations: 59.75 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.365, allocations: 8 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.889e-05/0.365, allocations: 16 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.365, allocations: 23.92 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.3651, allocations: 55.72 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.3653, allocations: 127.4 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3653, allocations: 0 / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3653, allocations: 0 / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3653, allocations: 3.938 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000795/0.3661, allocations: 383.7 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3661, allocations: 8.031 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.3662, allocations: 16.84 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3665, allocations: 147.4 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3665, allocations: 4.375 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3665, allocations: 8.375 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.3668, allocations: 123.8 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3668, allocations: 192 / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3668, allocations: 11.94 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3668, allocations: 0 / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.3671, allocations: 91.92 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.3678, allocations: 400.4 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.3682, allocations: 121.2 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.3684, allocations: 57.78 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3684, allocations: 0 / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3684, allocations: 42.55 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.3684, allocations: 0 / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005866/0.369, allocations: 173.5 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.3691, allocations: 85.11 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3692, allocations: 160 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3693, allocations: 29.7 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.3693, allocations: 123.8 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.3694, allocations: 31.73 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.3694, allocations: 17.72 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3696, allocations: 326.8 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3697, allocations: 43.97 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3699, allocations: 61.62 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.3702, allocations: 109.9 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3702, allocations: 0 / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003706/0.3705, allocations: 141.5 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3706, allocations: 4 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3706, allocations: 192 / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3706, allocations: 4 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3707, allocations: 27.92 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3707, allocations: 0 / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3708, allocations: 15.94 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3709, allocations: 4 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001128/0.371, allocations: 125.7 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.371, allocations: 15.91 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.3715, allocations: 162.8 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3715, allocations: 4.031 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3715, allocations: 0 / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3715, allocations: 4 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.3717, allocations: 157.3 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3717, allocations: 0 / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3719, allocations: 19.98 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3719, allocations: 0 / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3719, allocations: 4 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3719, allocations: 4.188 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3719, allocations: 0 / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.3723, allocations: 322.5 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.3724, allocations: 7.953 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3724, allocations: 0 / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.3725, allocations: 11.98 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.3726, allocations: 7.984 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3726, allocations: 8 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001007/0.3727, allocations: 120 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3727, allocations: 3.938 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002896/0.373, allocations: 28 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 9 * 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.0001081/0.3731, allocations: 99.19 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.3735, allocations: 103.9 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3735, allocations: 0 / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.3736, allocations: 55.97 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.374, allocations: 38.59 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.3746, allocations: 272.2 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.779e-05/0.3747, allocations: 93.05 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.3747, allocations: 15.44 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3747, allocations: 0 / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of Templates: time 0.003674/0.3784, allocations: 1.752 MB / 1.292 GB, free: 2.969 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.31636324012652]