Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001391/0.001391, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001248/0.001248, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.953/1.953, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.8127 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.209e-05, allocations: 4.016 kB / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002912/0.002944, allocations: 1.873 MB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0003815/0.003325, allocations: 121.9 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.003415, allocations: 4 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.003554, allocations: 13.55 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.003638, allocations: 47.5 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.003798, allocations: 37.47 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.004008, allocations: 179 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.004136, allocations: 13.3 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.004258, allocations: 84.81 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.962e-05/0.004358, allocations: 51.83 kB / 0.8151 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.004388, allocations: 12 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.989e-05/0.004408, allocations: 8.562 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.004444, allocations: 33.48 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.004494, allocations: 39.92 kB / 0.8152 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.004664, allocations: 107.5 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.00467, allocations: 4 kB / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.824e-06/0.004672, allocations: 2.562 kB / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.004677, allocations: 0 / 0.8153 GB, free: 14.9 MB / 0.7761 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.0005773/0.005254, allocations: 471.9 kB / 0.8157 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.005297, allocations: 8.031 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.005344, allocations: 25.38 kB / 0.8158 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.005515, allocations: 149.1 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.005527, allocations: 8.906 kB / 0.8159 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.005539, allocations: 4.375 kB / 0.8159 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.005715, allocations: 114.4 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005724, allocations: 4.188 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.005732, allocations: 4.375 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005738, allocations: 384 / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.761e-05/0.005795, allocations: 32.53 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.006386, allocations: 464.5 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.006591, allocations: 91.17 kB / 0.8166 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.006632, allocations: 28.75 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.006657, allocations: 7.938 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.006684, allocations: 41.47 kB / 0.8167 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.006686, allocations: 0 / 0.8167 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002252/0.006911, allocations: 91.28 kB / 0.8168 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.006954, allocations: 77.11 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.007079, allocations: 216.6 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.007096, allocations: 33.64 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.007178, allocations: 154.7 kB / 0.8172 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.007203, allocations: 36.58 kB / 0.8173 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.007249, allocations: 35.34 kB / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.007391, allocations: 0.4935 MB / 0.8178 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.007422, allocations: 8 kB / 0.8178 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.007461, allocations: 31.34 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.519e-05/0.007536, allocations: 48.2 kB / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.007538, allocations: 0 / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001173/0.007656, allocations: 83.92 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.007673, allocations: 10.5 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.007678, allocations: 384 / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.007689, allocations: 0 / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.245e-05/0.007781, allocations: 27.91 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.007785, allocations: 4 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.007833, allocations: 14.95 kB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.007843, allocations: 4 kB / 0.818 GB, free: 11.89 MB / 0.7761 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 8.063e-05/0.007923, allocations: 152.6 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.007962, allocations: 19.89 kB / 0.8182 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.008124, allocations: 98.73 kB / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008126, allocations: 0 / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.008128, allocations: 1.375 kB / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.008133, allocations: 0 / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.008304, allocations: 137.2 kB / 0.8184 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.008306, allocations: 0 / 0.8184 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.844e-05/0.008374, allocations: 20.61 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.008378, allocations: 0.5 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.008386, allocations: 3.938 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008388, allocations: 4.562 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.008389, allocations: 0.7188 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.008591, allocations: 347 kB / 0.8187 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.008611, allocations: 17.06 kB / 0.8188 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.008629, allocations: 7.922 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.008705, allocations: 8 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.008744, allocations: 12.73 kB / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.008749, allocations: 0 / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.377e-05/0.008813, allocations: 157.7 kB / 0.8189 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008813, allocations: 0 / 0.8189 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000191/0.009004, allocations: 28.66 kB / 0.819 GB, free: 10.84 MB / 0.7761 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.0001047/0.009109, allocations: 103.2 kB / 0.8191 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.009223, allocations: 47.59 kB / 0.8191 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009224, allocations: 0 / 0.8191 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/0.009272, allocations: 31.61 kB / 0.8191 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.009584, allocations: 40.62 kB / 0.8192 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.01013, allocations: 235.2 kB / 0.8194 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.661e-05/0.01018, allocations: 64.38 kB / 0.8195 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.53e-05/0.01024, allocations: 14.7 kB / 0.8195 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.01037, allocations: 107.2 kB / 0.8196 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of SimCode: time 9.01e-07/0.01037, allocations: 0 / 0.8196 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of Templates: time 0.004336/0.0147, allocations: 2.405 MB / 0.8219 GB, free: 7.836 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.270928548183292]