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.001611/0.001611, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001938/0.001938, allocations: 165.7 kB / 23.55 MB, free: 0.8906 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.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.921/2.921, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] 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.794e-06/1.794e-06, allocations: 0 / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.422e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003724/0.003758, allocations: 1.943 MB / 0.8127 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.006493, allocations: 1.573 MB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.006687, allocations: 9.625 kB / 0.8142 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.006828, allocations: 63.19 kB / 0.8143 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.007119, allocations: 92.64 kB / 0.8144 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008326/0.007952, allocations: 315.2 kB / 0.8147 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007812/0.008733, allocations: 0.6486 MB / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004949/0.009228, allocations: 247.6 kB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.009722, allocations: 363.3 kB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.01, allocations: 179.4 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.01011, allocations: 73.59 kB / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.01027, allocations: 87.98 kB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.01041, allocations: 131.5 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.01066, allocations: 199.5 kB / 0.8165 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009586/0.01162, allocations: 0.8455 MB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01162, allocations: 0 / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.112e-06/0.01162, allocations: 0.5312 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.01163, allocations: 1.656 kB / 0.8174 GB, free: 11.41 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.00136/0.01299, allocations: 0.7453 MB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.01303, allocations: 8.031 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.01348, allocations: 113.7 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.014, allocations: 301.6 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.01406, allocations: 42.84 kB / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.01414, allocations: 60.38 kB / 0.8186 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009732/0.01512, allocations: 0.5033 MB / 0.8191 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.01513, allocations: 1.562 kB / 0.8191 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.01519, allocations: 24.38 kB / 0.8191 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.01521, allocations: 12.38 kB / 0.8191 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.01601, allocations: 366.7 kB / 0.8195 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.01813, allocations: 1.161 MB / 0.8206 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.01876, allocations: 262 kB / 0.8208 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.01922, allocations: 173.4 kB / 0.821 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.01925, allocations: 8 kB / 0.821 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005221/0.01977, allocations: 205.9 kB / 0.8212 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.01978, allocations: 0 / 0.8212 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.0009698/0.02075, allocations: 394.5 kB / 0.8216 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/0.02084, allocations: 85.61 kB / 0.8217 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.0212, allocations: 287.7 kB / 0.8219 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.02125, allocations: 33.7 kB / 0.822 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.02151, allocations: 280.7 kB / 0.8222 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.02163, allocations: 119 kB / 0.8224 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.02181, allocations: 82.14 kB / 0.8224 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.02203, allocations: 349.3 kB / 0.8228 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.02239, allocations: 158.6 kB / 0.8229 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.02281, allocations: 233.5 kB / 0.8231 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007085/0.02352, allocations: 352 kB / 0.8235 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.02353, allocations: 0 / 0.8235 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001054/0.02458, allocations: 0.5059 MB / 0.824 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.02464, allocations: 41.69 kB / 0.824 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.02464, allocations: 0 / 0.824 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.02467, allocations: 4 kB / 0.824 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.02503, allocations: 79.91 kB / 0.8241 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.02503, allocations: 3.938 kB / 0.8241 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.02537, allocations: 65.72 kB / 0.8242 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.02541, allocations: 16 kB / 0.8242 GB, free: 4.148 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.0002294/0.02564, allocations: 177.6 kB / 0.8243 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.02573, allocations: 48.75 kB / 0.8244 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007036/0.02643, allocations: 312.6 kB / 0.8247 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.02644, allocations: 4 kB / 0.8247 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.02645, allocations: 5.109 kB / 0.8247 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02645, allocations: 0 / 0.8247 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.02789, allocations: 0.8238 MB / 0.8255 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.02789, allocations: 1.75 kB / 0.8255 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.02814, allocations: 55.91 kB / 0.8256 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.02814, allocations: 7.938 kB / 0.8256 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.02817, allocations: 11.98 kB / 0.8256 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.02818, allocations: 13.28 kB / 0.8256 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.02819, allocations: 7.938 kB / 0.8256 GB, free: 2.633 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.02903, allocations: 0.5024 MB / 0.8261 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.02909, allocations: 36.34 kB / 0.8261 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.02913, allocations: 8 kB / 0.8261 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.02935, allocations: 22.3 kB / 0.8262 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.02943, allocations: 27.89 kB / 0.8262 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.02945, allocations: 16 kB / 0.8262 GB, free: 1.988 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002449/0.0297, allocations: 197.2 kB / 0.8264 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0297, allocations: 0 / 0.8264 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004926/0.03019, allocations: 119.6 kB / 0.8265 GB, free: 1.676 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.0001917/0.03038, allocations: 117 kB / 0.8266 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008033/0.03119, allocations: 390.7 kB / 0.827 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.03119, allocations: 0 / 0.827 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.03149, allocations: 130.7 kB / 0.8271 GB, free: 1.031 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.03206, allocations: 68.28 kB / 0.8272 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.03346, allocations: 0.7452 MB / 0.8279 GB, free: 172 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.03376, allocations: 220.1 kB / 0.8281 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.03389, allocations: 34.91 kB / 0.8281 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.564e-05/0.03398, allocations: 32.48 kB / 0.8282 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of SimCode: time 3.3e-07/0.03398, allocations: 0 / 0.8282 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of Templates: time 0.008995/0.04297, allocations: 3.337 MB / 0.8314 GB, free: 12.61 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.963655387982726]