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.00132/0.00132, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001467/0.001467, allocations: 173 kB / 23.49 MB, free: 1.059 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.9918/0.9918, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.046/2.046, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.545e-06/2.545e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.099e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002468/0.002499, allocations: 1.877 MB / 0.88 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.002795, allocations: 110.8 kB / 0.8801 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.002879, allocations: 11.88 kB / 0.8801 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.003001, allocations: 11.86 kB / 0.8801 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.352e-05/0.003074, allocations: 53.62 kB / 0.8801 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.00321, allocations: 31.94 kB / 0.8802 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.003393, allocations: 183.7 kB / 0.8804 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.003504, allocations: 13.3 kB / 0.8804 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.003614, allocations: 85.41 kB / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.003696, allocations: 51.83 kB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.003722, allocations: 12 kB / 0.8805 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.003739, allocations: 8 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.003767, allocations: 32.39 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.003812, allocations: 39.92 kB / 0.8806 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.003952, allocations: 105 kB / 0.8807 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003954, allocations: 4 kB / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003955, allocations: 0 / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.00396, allocations: 0 / 0.8807 GB, free: 4.082 MB / 0.8386 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.0006997/0.00466, allocations: 474.4 kB / 0.8811 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.004714, allocations: 11.97 kB / 0.8812 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.004782, allocations: 24.84 kB / 0.8812 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.005029, allocations: 153.7 kB / 0.8813 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.005044, allocations: 4.375 kB / 0.8813 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.005065, allocations: 12.36 kB / 0.8813 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.005311, allocations: 117.3 kB / 0.8814 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.00532, allocations: 192 / 0.8814 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.005337, allocations: 4.375 kB / 0.8815 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.00535, allocations: 4.375 kB / 0.8815 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.005439, allocations: 35.91 kB / 0.8815 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.006076, allocations: 482.4 kB / 0.882 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.006333, allocations: 103.3 kB / 0.8821 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/0.0064, allocations: 40.5 kB / 0.8821 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.006425, allocations: 0 / 0.8821 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.006456, allocations: 41.47 kB / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.006458, allocations: 4 kB / 0.8821 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002665/0.006725, allocations: 97.53 kB / 0.8822 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.006766, allocations: 77.11 kB / 0.8823 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.006898, allocations: 217.4 kB / 0.8825 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.006913, allocations: 25.7 kB / 0.8825 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.006987, allocations: 162.8 kB / 0.8827 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.007008, allocations: 27.75 kB / 0.8827 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.007047, allocations: 27.36 kB / 0.8827 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.007165, allocations: 0.4923 MB / 0.8832 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.007199, allocations: 15.94 kB / 0.8832 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.007242, allocations: 35.36 kB / 0.8833 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.6e-05/0.007318, allocations: 59.55 kB / 0.8833 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00732, allocations: 0 / 0.8833 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001261/0.007446, allocations: 97.47 kB / 0.8834 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.007461, allocations: 4 kB / 0.8834 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.007465, allocations: 0 / 0.8834 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.007476, allocations: 0 / 0.8834 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.007553, allocations: 19.98 kB / 0.8834 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.007559, allocations: 0 / 0.8834 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.0076, allocations: 12 kB / 0.8835 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.007607, allocations: 0 / 0.8835 GB, free: 1 MB / 0.8386 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.221e-05/0.007679, allocations: 168.5 kB / 0.8836 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.007712, allocations: 19.84 kB / 0.8836 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.007872, allocations: 102.7 kB / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007874, allocations: 0 / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007878, allocations: 0 / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007882, allocations: 0 / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.00804, allocations: 160.7 kB / 0.8839 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008042, allocations: 0 / 0.8839 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.0081, allocations: 23.92 kB / 0.8839 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.008103, allocations: 4.188 kB / 0.8839 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.008114, allocations: 4 kB / 0.8839 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008116, allocations: 0 / 0.8839 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.008118, allocations: 4 kB / 0.8839 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.00831, allocations: 351.4 kB / 0.8843 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.008328, allocations: 19.81 kB / 0.8843 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.008347, allocations: 7.984 kB / 0.8843 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.008418, allocations: 4 kB / 0.8843 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.008465, allocations: 7.984 kB / 0.8843 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.008472, allocations: 4 kB / 0.8843 GB, free: 60 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.318e-05/0.008545, allocations: 164.1 kB / 0.8845 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008546, allocations: 0 / 0.8845 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001776/0.008723, allocations: 35.89 kB / 0.8845 GB, free: 15.86 MB / 0.8542 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 7.582e-05/0.008799, allocations: 95.25 kB / 0.8846 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.008928, allocations: 59.62 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008929, allocations: 0 / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/0.008971, allocations: 27.67 kB / 0.8847 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.009261, allocations: 49.27 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.009828, allocations: 237.2 kB / 0.8849 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.009874, allocations: 63.34 kB / 0.885 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.157e-05/0.009926, allocations: 16.48 kB / 0.885 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.009966, allocations: 12.5 kB / 0.885 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.009967, allocations: 0 / 0.885 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.003754/0.01372, allocations: 2.139 MB / 0.8871 GB, free: 13.18 MB / 0.8542 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.32113821990788]