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.001788/0.001788, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.00242/0.00242, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.629/1.629, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.893/2.893, allocations: 476.8 MB / 0.7714 GB, free: 4.305 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.002023/0.002023, allocations: 66.19 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 170 MB / 1.285 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003444/0.339, allocations: 1.867 MB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003125/0.3393, allocations: 117.4 kB / 1.287 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.3394, allocations: 7.938 kB / 1.287 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.3395, allocations: 19.84 kB / 1.287 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.3396, allocations: 47.5 kB / 1.287 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.3398, allocations: 35.94 kB / 1.287 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.3401, allocations: 167.2 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3402, allocations: 13.31 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3403, allocations: 63.78 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3404, allocations: 63.75 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.3404, allocations: 12 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.566e-05/0.3404, allocations: 8 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.3405, allocations: 35.78 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.84e-05/0.3406, allocations: 59.73 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.3408, allocations: 127.5 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3408, allocations: 0 / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3408, allocations: 0 / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3408, allocations: 0 / 1.287 GB, free: 8.746 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.0008426/0.3416, allocations: 381.7 kB / 1.288 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3417, allocations: 8.031 kB / 1.288 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3417, allocations: 16.84 kB / 1.288 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.342, allocations: 150.2 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3421, allocations: 4.375 kB / 1.288 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3421, allocations: 12.38 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.3424, allocations: 111.9 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3424, allocations: 8.109 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3424, allocations: 7.938 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3424, allocations: 0 / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.3427, allocations: 99.86 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.3435, allocations: 443.9 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.3439, allocations: 129.1 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.3441, allocations: 57.72 kB / 1.289 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.3441, allocations: 4 kB / 1.289 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3442, allocations: 34.5 kB / 1.289 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3442, allocations: 0 / 1.289 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005928/0.3448, allocations: 193.4 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.3448, allocations: 77.11 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.345, allocations: 172.1 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.345, allocations: 29.7 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.3451, allocations: 104.2 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.3452, allocations: 35.72 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.3452, allocations: 25.72 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3454, allocations: 326.8 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.3455, allocations: 43.97 kB / 1.29 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.3457, allocations: 53.69 kB / 1.29 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.346, allocations: 113.6 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.346, allocations: 0 / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003576/0.3463, allocations: 141.5 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3464, allocations: 4 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3464, allocations: 0 / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3464, allocations: 0 / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3465, allocations: 35.91 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3465, allocations: 0 / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3467, allocations: 8 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3467, allocations: 3.938 kB / 1.29 GB, free: 5.746 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.000102/0.3468, allocations: 125.8 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.3468, allocations: 15.91 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.3472, allocations: 159 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3473, allocations: 0 / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3473, allocations: 4.062 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3473, allocations: 4 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.3476, allocations: 196.5 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3476, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.3477, allocations: 27.92 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3477, allocations: 0 / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3477, allocations: 4 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3477, allocations: 0 / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3477, allocations: 4.188 kB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.3482, allocations: 314.5 kB / 1.291 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.3482, allocations: 16.12 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.3482, allocations: 12 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3484, allocations: 7.984 kB / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.3485, allocations: 11.97 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3485, allocations: 7.938 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001123/0.3486, allocations: 123.2 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3486, allocations: 0 / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002894/0.3489, allocations: 28 kB / 1.291 GB, free: 4.629 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.0001123/0.349, allocations: 95.25 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.3493, allocations: 107.9 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3493, allocations: 0 / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.3495, allocations: 51.91 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.3499, allocations: 36.45 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.3505, allocations: 273.2 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.3509, allocations: 0.7006 MB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.3509, allocations: 19.44 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3509, allocations: 0 / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of Templates: time 0.003836/0.3548, allocations: 1.771 MB / 1.294 GB, free: 1.535 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.468569840013515]