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.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.001571/0.001571, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.00226/0.00226, allocations: 203.6 kB / 22.18 MB, free: 5.211 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.521/1.521, allocations: 225.6 MB / 250.9 MB, free: 13.25 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 3.001/3.001, allocations: 476.7 MB / 0.7645 GB, free: 10.06 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.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: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 71.83 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.132, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003598/1.136, allocations: 1.842 MB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003472/1.136, allocations: 127.6 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/1.136, allocations: 0 / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/1.136, allocations: 19.8 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/1.136, allocations: 47.55 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/1.137, allocations: 35.95 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/1.137, allocations: 167.2 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/1.137, allocations: 19.78 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/1.137, allocations: 67.7 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/1.137, allocations: 59.77 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/1.137, allocations: 8 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-05/1.137, allocations: 12 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.682e-05/1.137, allocations: 23.91 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/1.137, allocations: 63.67 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/1.138, allocations: 127.5 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/1.138, allocations: 4 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.144e-06/1.138, allocations: 0 / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.864e-06/1.138, allocations: 0 / 1.277 GB, free: 1.895 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009479/1.139, allocations: 458.7 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.139, allocations: 8.031 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/1.139, allocations: 16.84 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/1.139, allocations: 213.6 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.139, allocations: 8.375 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/1.139, allocations: 4.375 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/1.139, allocations: 122.9 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.139, allocations: 192 / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/1.139, allocations: 3.938 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/1.139, allocations: 0 / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/1.14, allocations: 103.9 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/1.141, allocations: 472.7 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/1.141, allocations: 125.3 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/1.141, allocations: 65.61 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/1.141, allocations: 4 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.141, allocations: 34.56 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/1.141, allocations: 3.938 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006392/1.142, allocations: 181.6 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/1.142, allocations: 81.11 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/1.142, allocations: 170.4 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/1.142, allocations: 29.7 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/1.142, allocations: 108.1 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/1.142, allocations: 27.75 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/1.142, allocations: 25.7 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.142, allocations: 326.6 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/1.143, allocations: 39.97 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/1.143, allocations: 61.69 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/1.143, allocations: 105.6 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.143, allocations: 256 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000363/1.143, allocations: 149.5 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.143, allocations: 8 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.143, allocations: 4 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.143, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/1.144, allocations: 19.98 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.144, allocations: 0 / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/1.144, allocations: 27.81 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/1.144, allocations: 4 kB / 1.279 GB, free: 14.68 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.0001166/1.144, allocations: 113.8 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/1.144, allocations: 15.95 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/1.144, allocations: 162.5 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/1.144, allocations: 4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.144, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.144, allocations: 3.938 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/1.145, allocations: 217.7 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.145, allocations: 4 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/1.145, allocations: 27.91 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.145, allocations: 0 / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/1.145, allocations: 4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.145, allocations: 4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/1.145, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/1.145, allocations: 320.2 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/1.145, allocations: 85.06 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/1.145, allocations: 7.984 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/1.146, allocations: 8.125 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/1.146, allocations: 15.92 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/1.146, allocations: 4 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001308/1.146, allocations: 128.2 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/1.146, allocations: 4 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002829/1.146, allocations: 24 kB / 1.281 GB, free: 13.45 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.0001313/1.146, allocations: 111.7 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003675/1.147, allocations: 95.88 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.147, allocations: 0 / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/1.147, allocations: 55.91 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/1.147, allocations: 48.2 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/1.148, allocations: 231.3 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/1.148, allocations: 0.7162 MB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.154e-05/1.148, allocations: 16.58 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/1.148, allocations: 19.44 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/1.148, allocations: 0 / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of Templates: time 0.005723/1.154, allocations: 2.141 MB / 1.284 GB, free: 10.02 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 -s cvode -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_2/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: 9.744084450881928]