Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.001219/0.001219, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001449/0.001449, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9568/0.9568, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.851/1.851, allocations: 377.9 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] 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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.786e-05, allocations: 6.781 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002272/0.00229, allocations: 2.038 MB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.004008, allocations: 1.6 MB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.00419, allocations: 8.781 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.91e-05/0.004289, allocations: 59.2 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.004506, allocations: 104.7 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.005064, allocations: 304.9 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.005623, allocations: 0.6408 MB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.005927, allocations: 254.4 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.006231, allocations: 363.2 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.00641, allocations: 185.1 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.006475, allocations: 68 kB / 0.817 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.006587, allocations: 91.92 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.094e-05/0.006658, allocations: 131.5 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.006789, allocations: 200.6 kB / 0.8174 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.007172, allocations: 462.1 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.007174, allocations: 3.938 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.42e-07/0.007175, allocations: 0.5 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.007181, allocations: 0.7812 kB / 0.8178 GB, free: 11.3 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0008689/0.00805, allocations: 0.8457 MB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.00809, allocations: 10.53 kB / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.008334, allocations: 116.6 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.008641, allocations: 291.1 kB / 0.819 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.008679, allocations: 41.69 kB / 0.8191 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.008727, allocations: 60.38 kB / 0.8191 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.009189, allocations: 413.7 kB / 0.8195 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.009203, allocations: 192 / 0.8195 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.009232, allocations: 20.91 kB / 0.8196 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.009247, allocations: 13.09 kB / 0.8196 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.009528, allocations: 199.6 kB / 0.8198 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.01072, allocations: 1.238 MB / 0.821 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.01103, allocations: 211.1 kB / 0.8212 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.01122, allocations: 128.8 kB / 0.8213 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.01124, allocations: 4 kB / 0.8213 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.01144, allocations: 172.6 kB / 0.8215 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.01144, allocations: 0 / 0.8215 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.0003892/0.01183, allocations: 269.4 kB / 0.8217 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.01187, allocations: 81.11 kB / 0.8218 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.01206, allocations: 321 kB / 0.8221 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.01208, allocations: 29.7 kB / 0.8221 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.01222, allocations: 332.4 kB / 0.8224 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.01228, allocations: 111 kB / 0.8226 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-05/0.01238, allocations: 93.02 kB / 0.8226 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.01249, allocations: 0.5157 MB / 0.8231 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.01262, allocations: 94.66 kB / 0.8232 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.01277, allocations: 200.1 kB / 0.8234 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.01301, allocations: 255 kB / 0.8237 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01301, allocations: 0 / 0.8237 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004005/0.01341, allocations: 403.4 kB / 0.8241 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.01344, allocations: 37.7 kB / 0.8241 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01345, allocations: 0 / 0.8241 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.01346, allocations: 7.984 kB / 0.8241 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.01364, allocations: 79.84 kB / 0.8242 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.01364, allocations: 5.312 kB / 0.8242 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.01378, allocations: 59.66 kB / 0.8242 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.0138, allocations: 19.98 kB / 0.8243 GB, free: 4.363 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0001077/0.01391, allocations: 181.6 kB / 0.8244 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.01394, allocations: 39.81 kB / 0.8245 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.01421, allocations: 236.7 kB / 0.8247 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01422, allocations: 4 kB / 0.8247 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01422, allocations: 1.094 kB / 0.8247 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.01423, allocations: 4 kB / 0.8247 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.01482, allocations: 0.8187 MB / 0.8255 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01482, allocations: 4 kB / 0.8255 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.01494, allocations: 61.09 kB / 0.8256 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01495, allocations: 4 kB / 0.8256 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.01496, allocations: 9.031 kB / 0.8256 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.01496, allocations: 11.88 kB / 0.8256 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01497, allocations: 0 / 0.8256 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.01532, allocations: 0.5314 MB / 0.8261 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.01535, allocations: 39.7 kB / 0.8261 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.01538, allocations: 13.11 kB / 0.8262 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.01547, allocations: 11.94 kB / 0.8262 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.01552, allocations: 27.95 kB / 0.8262 GB, free: 2.258 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.01554, allocations: 8.969 kB / 0.8262 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001181/0.01565, allocations: 217.1 kB / 0.8264 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01565, allocations: 0.6562 kB / 0.8264 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002787/0.01593, allocations: 115.6 kB / 0.8265 GB, free: 1.922 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001777/0.01611, allocations: 128.9 kB / 0.8266 GB, free: 1.785 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.01646, allocations: 305.4 kB / 0.8269 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01646, allocations: 0 / 0.8269 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.01657, allocations: 106.6 kB / 0.827 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01688, allocations: 52.41 kB / 0.8271 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.01785, allocations: 0.7331 MB / 0.8278 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.788e-05/0.01792, allocations: 105.3 kB / 0.8279 GB, free: 404 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.596e-05/0.018, allocations: 38.94 kB / 0.8279 GB, free: 368 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.01805, allocations: 32.5 kB / 0.828 GB, free: 336 kB / 0.7761 GB Notification: Performance of SimCode: time 7.72e-07/0.01806, allocations: 0 / 0.828 GB, free: 336 kB / 0.7761 GB Notification: Performance of Templates: time 0.005765/0.02382, allocations: 3.563 MB / 0.8315 GB, free: 12.85 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_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.185785391833633]