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.001457/0.001457, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001893/0.001893, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.061/1.061, allocations: 177.1 MB / 204.6 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.97/1.97, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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.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 3.677e-06/3.677e-06, allocations: 0 / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.618e-05/3.986e-05, allocations: 4.844 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002625/0.002664, allocations: 2.015 MB / 0.8135 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.004606, allocations: 1.594 MB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.004825, allocations: 8 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.004928, allocations: 64.72 kB / 0.8151 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.005143, allocations: 99.03 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.005738, allocations: 300.5 kB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000561/0.006299, allocations: 0.6525 MB / 0.8161 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.006613, allocations: 252 kB / 0.8163 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.0069, allocations: 355.3 kB / 0.8167 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.007067, allocations: 187.3 kB / 0.8169 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.007131, allocations: 72 kB / 0.8169 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.007253, allocations: 92.45 kB / 0.817 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.007322, allocations: 131.5 kB / 0.8171 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.007457, allocations: 201.2 kB / 0.8173 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.007866, allocations: 470.1 kB / 0.8178 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.00787, allocations: 0 / 0.8178 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.382e-06/0.007871, allocations: 0 / 0.8178 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.007879, allocations: 0.5625 kB / 0.8178 GB, free: 11.64 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.0008654/0.008744, allocations: 0.8498 MB / 0.8186 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.008785, allocations: 13.19 kB / 0.8186 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.009015, allocations: 116.5 kB / 0.8187 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.009352, allocations: 300.4 kB / 0.819 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.00939, allocations: 47.06 kB / 0.8191 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.009439, allocations: 56.38 kB / 0.8191 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.009904, allocations: 409.7 kB / 0.8195 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.009917, allocations: 1.938 kB / 0.8195 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.009947, allocations: 28.38 kB / 0.8195 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.009962, allocations: 12.38 kB / 0.8196 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.01025, allocations: 199.6 kB / 0.8197 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.01152, allocations: 1.23 MB / 0.8209 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.01186, allocations: 216 kB / 0.8212 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.01205, allocations: 123.2 kB / 0.8213 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.01209, allocations: 8.5 kB / 0.8213 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.01229, allocations: 171.8 kB / 0.8214 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=34): time 2.485e-06/0.0123, allocations: 1.625 kB / 0.8214 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.0004223/0.01272, allocations: 265.4 kB / 0.8217 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.01277, allocations: 85.11 kB / 0.8218 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.01299, allocations: 312.2 kB / 0.8221 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.01302, allocations: 37.7 kB / 0.8221 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.01318, allocations: 334 kB / 0.8224 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.01324, allocations: 115 kB / 0.8225 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.01334, allocations: 87.8 kB / 0.8226 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002312/0.01357, allocations: 0.5079 MB / 0.8231 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.01372, allocations: 106.6 kB / 0.8232 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.01389, allocations: 192.1 kB / 0.8234 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.01418, allocations: 254 kB / 0.8236 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.01419, allocations: 4 kB / 0.8237 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004622/0.01465, allocations: 406.8 kB / 0.824 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.0147, allocations: 35.86 kB / 0.8241 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.01471, allocations: 4 kB / 0.8241 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.01472, allocations: 7.938 kB / 0.8241 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.01492, allocations: 71.91 kB / 0.8242 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.01493, allocations: 7.938 kB / 0.8242 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.01511, allocations: 60.64 kB / 0.8242 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.01514, allocations: 20 kB / 0.8242 GB, free: 4.691 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.0001371/0.01527, allocations: 185.6 kB / 0.8244 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.01531, allocations: 39.81 kB / 0.8245 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.01566, allocations: 228.6 kB / 0.8247 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.01567, allocations: 4 kB / 0.8247 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01567, allocations: 1.094 kB / 0.8247 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.01568, allocations: 3.984 kB / 0.8247 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.01639, allocations: 0.8306 MB / 0.8255 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01639, allocations: 0 / 0.8255 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.01653, allocations: 55.91 kB / 0.8255 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.01653, allocations: 4 kB / 0.8255 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.01655, allocations: 9.344 kB / 0.8256 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.01655, allocations: 7.938 kB / 0.8256 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.01656, allocations: 7.938 kB / 0.8256 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.01691, allocations: 0.5234 MB / 0.8261 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.01695, allocations: 39.69 kB / 0.8261 GB, free: 2.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.01698, allocations: 8.656 kB / 0.8261 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.0171, allocations: 19.92 kB / 0.8261 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.01716, allocations: 31.58 kB / 0.8262 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.01718, allocations: 12 kB / 0.8262 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001309/0.01731, allocations: 213.1 kB / 0.8264 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01731, allocations: 0 / 0.8264 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003623/0.01767, allocations: 123.6 kB / 0.8265 GB, free: 2.238 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.0001697/0.01784, allocations: 115.1 kB / 0.8266 GB, free: 2.117 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004032/0.01825, allocations: 308.9 kB / 0.8269 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.01825, allocations: 4 kB / 0.8269 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.01837, allocations: 93.98 kB / 0.827 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.01876, allocations: 58.09 kB / 0.8271 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.02002, allocations: 0.7333 MB / 0.8278 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.495e-05/0.02012, allocations: 109.3 kB / 0.8279 GB, free: 0.7266 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.02022, allocations: 40.08 kB / 0.8279 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.02028, allocations: 36.42 kB / 0.828 GB, free: 0.6562 MB / 0.7761 GB Notification: Performance of SimCode: time 2.114e-06/0.02028, allocations: 0 / 0.828 GB, free: 0.6562 MB / 0.7761 GB Notification: Performance of Templates: time 0.00622/0.0265, allocations: 3.354 MB / 0.8312 GB, free: 13.38 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.54183713789098]