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.00144/0.00144, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001519/0.001519, allocations: 177.3 kB / 23.35 MB, free: 1.141 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.9518/0.9518, allocations: 177.1 MB / 203.8 MB, free: 5.445 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.477/2.477, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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 2.024e-06/2.024e-06, allocations: 3.938 kB / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.256e-05, allocations: 6.312 kB / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002274/0.002306, allocations: 1.856 MB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003245/0.002631, allocations: 123.5 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.002705, allocations: 4 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.002815, allocations: 23.72 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-05/0.00289, allocations: 39.58 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.003012, allocations: 39.94 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.003184, allocations: 183 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.003279, allocations: 25.88 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.00338, allocations: 79.84 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.003462, allocations: 51.89 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.003487, allocations: 8 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.003503, allocations: 12 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.00353, allocations: 27.83 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.003572, allocations: 43.92 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.003696, allocations: 99.64 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003698, allocations: 0 / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003699, allocations: 7.938 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.003702, allocations: 0 / 0.8411 GB, free: 11.62 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.0004336/0.004136, allocations: 356.2 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.004171, allocations: 8.625 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.004204, allocations: 12.92 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.004348, allocations: 145.5 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.004357, allocations: 8.375 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.004368, allocations: 4.375 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.004512, allocations: 108.1 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.004518, allocations: 192 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.004527, allocations: 384 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.004533, allocations: 4.375 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.878e-05/0.004582, allocations: 27.86 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.004957, allocations: 312.3 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.005109, allocations: 69.14 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.005143, allocations: 29.86 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.005161, allocations: 4 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.005184, allocations: 42.44 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.005186, allocations: 0 / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001576/0.005343, allocations: 73.61 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.00538, allocations: 77.11 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.005465, allocations: 159.3 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.005476, allocations: 25.7 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.005521, allocations: 116 kB / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.005542, allocations: 31.72 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.005573, allocations: 17.72 kB / 0.8426 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.005649, allocations: 326.8 kB / 0.843 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.005669, allocations: 8 kB / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.005696, allocations: 21.7 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.253e-05/0.005748, allocations: 41.64 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.005752, allocations: 3.984 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.43e-05/0.005836, allocations: 73.55 kB / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.005848, allocations: 8 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.005856, allocations: 4 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.005865, allocations: 0 / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.005941, allocations: 20.36 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-06/0.005945, allocations: 3.938 kB / 0.8431 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.005984, allocations: 4 kB / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.005993, allocations: 8 kB / 0.8431 GB, free: 9.309 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 5.886e-05/0.006052, allocations: 113.8 kB / 0.8433 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.006082, allocations: 15.92 kB / 0.8433 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.006208, allocations: 94.69 kB / 0.8434 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.006211, allocations: 8 kB / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.006212, allocations: 0 / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006216, allocations: 240 / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.006359, allocations: 101.8 kB / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.00636, allocations: 0 / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.006416, allocations: 23.92 kB / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.006419, allocations: 0 / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.006427, allocations: 7.984 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.006429, allocations: 3.938 kB / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00643, allocations: 0 / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.006549, allocations: 238.8 kB / 0.8437 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.006564, allocations: 11.91 kB / 0.8437 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.006578, allocations: 4 kB / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.006646, allocations: 11.92 kB / 0.8438 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.006677, allocations: 7.984 kB / 0.8438 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.006681, allocations: 0 / 0.8438 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.00671, allocations: 38.47 kB / 0.8438 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00671, allocations: 0 / 0.8438 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001621/0.006872, allocations: 28 kB / 0.8438 GB, free: 8.562 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.278e-05/0.006955, allocations: 88.41 kB / 0.8439 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.713e-05/0.007042, allocations: 37.06 kB / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.007046, allocations: 0 / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.007079, allocations: 36.72 kB / 0.844 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.007299, allocations: 36.39 kB / 0.844 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.007738, allocations: 237.3 kB / 0.8442 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.00778, allocations: 67.33 kB / 0.8443 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.383e-05/0.007834, allocations: 8.5 kB / 0.8443 GB, free: 8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.007935, allocations: 83.34 kB / 0.8444 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of SimCode: time 6.82e-07/0.007935, allocations: 3.938 kB / 0.8444 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of Templates: time 0.003619/0.01155, allocations: 2.264 MB / 0.8466 GB, free: 5.719 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 -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.358226092066616]