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.0009909/0.0009909, allocations: 80.3 kB / 21.47 MB, free: 3.023 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.0009015/0.0009015, allocations: 167.9 kB / 24.87 MB, free: 8.867 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.879/1.879, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.714e-06/1.714e-06, allocations: 0 / 0.8127 GB, free: 348 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.719e-05, allocations: 2.906 kB / 0.8127 GB, free: 344 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002511/0.002528, allocations: 1.97 MB / 0.8147 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.004848, allocations: 1.594 MB / 0.8162 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.005067, allocations: 8 kB / 0.8162 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.005163, allocations: 60.05 kB / 0.8163 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.005402, allocations: 111.5 kB / 0.8164 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.00596, allocations: 297 kB / 0.8167 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000481/0.006441, allocations: 0.6486 MB / 0.8173 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.006735, allocations: 254.3 kB / 0.8176 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.007032, allocations: 363.9 kB / 0.8179 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.007217, allocations: 184.4 kB / 0.8181 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.433e-05/0.007291, allocations: 68 kB / 0.8181 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.007412, allocations: 87.98 kB / 0.8182 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.007491, allocations: 125.2 kB / 0.8183 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.007639, allocations: 203.5 kB / 0.8185 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007809/0.00842, allocations: 466 kB / 0.819 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.008422, allocations: 0 / 0.819 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.42e-07/0.008423, allocations: 0.625 kB / 0.819 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.008429, allocations: 3.984 kB / 0.819 GB, free: 9.922 MB / 0.7292 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.0007513/0.00918, allocations: 0.8539 MB / 0.8198 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.009221, allocations: 8.031 kB / 0.8198 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.009431, allocations: 121.7 kB / 0.8199 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.009706, allocations: 287.1 kB / 0.8202 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.009741, allocations: 45.69 kB / 0.8203 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.009789, allocations: 57.81 kB / 0.8203 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.01023, allocations: 377.7 kB / 0.8207 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.01024, allocations: 192 / 0.8207 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.01027, allocations: 24.38 kB / 0.8207 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.01029, allocations: 17.91 kB / 0.8207 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.01046, allocations: 156.9 kB / 0.8209 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.01161, allocations: 1.173 MB / 0.822 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.01187, allocations: 202.3 kB / 0.8222 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.01201, allocations: 108.6 kB / 0.8223 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.01203, allocations: 11.94 kB / 0.8223 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.0122, allocations: 154.2 kB / 0.8225 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 1.152e-06/0.0122, allocations: 1.344 kB / 0.8225 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.0003045/0.0125, allocations: 241.3 kB / 0.8227 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.01254, allocations: 81.11 kB / 0.8228 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.01284, allocations: 312.6 kB / 0.8231 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.01292, allocations: 33.7 kB / 0.8231 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.01311, allocations: 336 kB / 0.8234 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.01318, allocations: 116.9 kB / 0.8235 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.01329, allocations: 95.8 kB / 0.8236 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.01344, allocations: 0.5078 MB / 0.8241 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.01356, allocations: 86.64 kB / 0.8242 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.01371, allocations: 184 kB / 0.8244 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.01393, allocations: 236.4 kB / 0.8246 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.01393, allocations: 0 / 0.8246 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000438/0.01437, allocations: 366.7 kB / 0.825 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.01441, allocations: 41.69 kB / 0.825 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.01442, allocations: 4.75 kB / 0.825 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.01443, allocations: 4 kB / 0.825 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.01465, allocations: 80.56 kB / 0.8251 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.01465, allocations: 0.8125 kB / 0.8251 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.01482, allocations: 52.69 kB / 0.8251 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.01484, allocations: 16 kB / 0.8251 GB, free: 3.277 MB / 0.7292 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.0001522/0.015, allocations: 189.7 kB / 0.8253 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.01505, allocations: 59.62 kB / 0.8254 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.01532, allocations: 205.6 kB / 0.8256 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01532, allocations: 4.969 kB / 0.8256 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01532, allocations: 0 / 0.8256 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01533, allocations: 2.312 kB / 0.8256 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.01591, allocations: 0.7436 MB / 0.8263 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01592, allocations: 4 kB / 0.8263 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.01606, allocations: 63.34 kB / 0.8264 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01607, allocations: 0 / 0.8264 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01608, allocations: 8 kB / 0.8264 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.01608, allocations: 11.92 kB / 0.8264 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.01609, allocations: 4 kB / 0.8264 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.01639, allocations: 0.5119 MB / 0.8269 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.01643, allocations: 39.67 kB / 0.8269 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.01645, allocations: 8 kB / 0.8269 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01655, allocations: 8.719 kB / 0.827 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.0166, allocations: 31.89 kB / 0.827 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.01661, allocations: 12.5 kB / 0.827 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.17e-05/0.0167, allocations: 205.6 kB / 0.8272 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.0167, allocations: 0 / 0.8272 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003496/0.01705, allocations: 120.2 kB / 0.8273 GB, free: 0.9531 MB / 0.7292 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.0001574/0.01721, allocations: 117.1 kB / 0.8274 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.01752, allocations: 294.1 kB / 0.8277 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01753, allocations: 0 / 0.8277 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.029e-05/0.01762, allocations: 93.31 kB / 0.8278 GB, free: 440 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.01798, allocations: 58.28 kB / 0.8278 GB, free: 384 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009529/0.01894, allocations: 0.7231 MB / 0.8286 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.035e-05/0.01901, allocations: 109.3 kB / 0.8287 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.927e-05/0.0191, allocations: 30.06 kB / 0.8287 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.01924, allocations: 134.2 kB / 0.8288 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.01924, allocations: 1.031 kB / 0.8288 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.006117/0.02536, allocations: 3.784 MB / 0.8325 GB, free: 11.62 MB / 0.7448 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.044855379033834]