Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001553/0.001553, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001499/0.001499, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9607/0.9607, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.439/2.439, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.556e-05, allocations: 5.266 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003433/0.003459, allocations: 1.911 MB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004059/0.003865, allocations: 127.5 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.003966, allocations: 0 / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.004105, allocations: 19.8 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.004229, allocations: 47.5 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.004375, allocations: 39.94 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.004618, allocations: 179 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.004741, allocations: 17.95 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.004891, allocations: 79.84 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.005005, allocations: 55.83 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.005042, allocations: 12 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.327e-05/0.005065, allocations: 8 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.005102, allocations: 27.89 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.005166, allocations: 43.92 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.005348, allocations: 103.6 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.00535, allocations: 0 / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.292e-06/0.005351, allocations: 0 / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.005358, allocations: 4 kB / 0.8412 GB, free: 11.56 MB / 0.8073 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.0006105/0.005968, allocations: 348.3 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.006015, allocations: 8.625 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.006067, allocations: 16.92 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.006292, allocations: 149.5 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.006309, allocations: 8.375 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.006326, allocations: 4.375 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.006542, allocations: 100.6 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.006554, allocations: 4.188 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.006566, allocations: 384 / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.006573, allocations: 384 / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.00665, allocations: 27.86 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.007171, allocations: 316.2 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.007375, allocations: 65.14 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.007433, allocations: 29.81 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.007454, allocations: 0 / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.007488, allocations: 42.58 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.007489, allocations: 0 / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0002266/0.007716, allocations: 81.61 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.007763, allocations: 77.11 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.007889, allocations: 164 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.007905, allocations: 25.7 kB / 0.8426 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.007966, allocations: 108 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.007999, allocations: 31.72 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.008048, allocations: 21.72 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.008159, allocations: 326.8 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.368e-05/0.008193, allocations: 8 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.008235, allocations: 21.7 kB / 0.8431 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.035e-05/0.008316, allocations: 41.64 kB / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.008318, allocations: 0 / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001294/0.008448, allocations: 69.55 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.008463, allocations: 10.34 kB / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.008469, allocations: 7.984 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.008483, allocations: 192 / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.008606, allocations: 20 kB / 0.8432 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.008611, allocations: 3.984 kB / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.008675, allocations: 7.984 kB / 0.8432 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.008685, allocations: 4 kB / 0.8432 GB, free: 9.254 MB / 0.8073 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 7.807e-05/0.008763, allocations: 117.8 kB / 0.8433 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.008819, allocations: 19.91 kB / 0.8434 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.008997, allocations: 83.19 kB / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.009002, allocations: 4 kB / 0.8434 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.009006, allocations: 8.047 kB / 0.8434 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.00901, allocations: 0 / 0.8434 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.00923, allocations: 105.8 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.009233, allocations: 3.984 kB / 0.8436 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.009335, allocations: 19.94 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.009338, allocations: 0 / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.009347, allocations: 0 / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.009351, allocations: 3.938 kB / 0.8436 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.009356, allocations: 11.98 kB / 0.8436 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.009543, allocations: 234.8 kB / 0.8438 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.009563, allocations: 7.953 kB / 0.8438 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.009583, allocations: 0 / 0.8438 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.009712, allocations: 11.94 kB / 0.8438 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.009759, allocations: 7.984 kB / 0.8438 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.009772, allocations: 11.92 kB / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.715e-05/0.009829, allocations: 40.11 kB / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.009829, allocations: 0 / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002636/0.01009, allocations: 27.95 kB / 0.8439 GB, free: 8.5 MB / 0.8073 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 8.98e-05/0.01018, allocations: 84.42 kB / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.01031, allocations: 40.77 kB / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.01031, allocations: 0 / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.01036, allocations: 29.06 kB / 0.8441 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.01073, allocations: 46.34 kB / 0.8441 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.01126, allocations: 229.3 kB / 0.8443 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.262e-05/0.0113, allocations: 63.34 kB / 0.8444 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.983e-05/0.01135, allocations: 16.48 kB / 0.8444 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.01146, allocations: 91.27 kB / 0.8445 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.01146, allocations: 0 / 0.8445 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of Templates: time 0.003687/0.01514, allocations: 2.261 MB / 0.8467 GB, free: 5.66 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.159445117227733]