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.002014/0.002014, allocations: 107.6 kB / 18.95 MB, free: 2.809 MB / 14.72 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.00205/0.00205, allocations: 211.7 kB / 22.24 MB, free: 5.113 MB / 14.72 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.618/1.618, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.608/3.608, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003089/0.003089, allocations: 67.27 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4493, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003979/0.4533, allocations: 1.936 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.4562, allocations: 1.564 MB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.4567, allocations: 8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.4569, allocations: 63.19 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.4573, allocations: 95.08 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009765/0.4583, allocations: 307.6 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009567/0.4593, allocations: 0.6371 MB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000538/0.4598, allocations: 250.3 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.4602, allocations: 235.2 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.4606, allocations: 226.7 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.4607, allocations: 68 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.461, allocations: 95.97 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.4611, allocations: 127.6 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.4614, allocations: 238.8 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.4623, allocations: 0.8131 MB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4624, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4624, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.4624, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 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.001317/0.4637, allocations: 0.7535 MB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4637, allocations: 12.03 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.464, allocations: 64.56 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.4645, allocations: 302 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.4646, allocations: 41.69 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-05/0.4646, allocations: 60.38 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008829/0.4655, allocations: 0.5071 MB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.4655, allocations: 192 / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.4656, allocations: 23.94 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4656, allocations: 12 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.4663, allocations: 361 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.4682, allocations: 1.147 MB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000594/0.4688, allocations: 257.3 kB / 1.335 GB, free: 7.598 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.4693, allocations: 177.7 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.4693, allocations: 4 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004848/0.4698, allocations: 194.9 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/0.4698, allocations: 4 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008739/0.4707, allocations: 383.1 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.4707, allocations: 85.11 kB / 1.336 GB, free: 6.719 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.471, allocations: 289.8 kB / 1.336 GB, free: 6.426 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.4711, allocations: 29.7 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.4713, allocations: 284.7 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.4714, allocations: 126.9 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.4716, allocations: 82.08 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.4718, allocations: 342.8 kB / 1.337 GB, free: 5.555 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.4721, allocations: 166.5 kB / 1.337 GB, free: 5.387 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.4725, allocations: 232.9 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/0.4731, allocations: 353.3 kB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4731, allocations: 3.938 kB / 1.338 GB, free: 4.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009348/0.4741, allocations: 496.4 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.4741, allocations: 37.69 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4741, allocations: 0 / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.4742, allocations: 4 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.4745, allocations: 79.89 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.4745, allocations: 7.938 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.4749, allocations: 71.83 kB / 1.339 GB, free: 4.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.4749, allocations: 19.98 kB / 1.339 GB, free: 4.023 MB / 1.029 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.0002235/0.4751, allocations: 170.2 kB / 1.339 GB, free: 3.848 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.4752, allocations: 31.81 kB / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.4759, allocations: 317.6 kB / 1.339 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.4759, allocations: 4 kB / 1.339 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4759, allocations: 3.938 kB / 1.339 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4759, allocations: 7.938 kB / 1.339 GB, free: 3.484 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.4772, allocations: 0.8183 MB / 1.34 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4772, allocations: 0 / 1.34 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.4774, allocations: 67.84 kB / 1.34 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4774, allocations: 0 / 1.34 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.4775, allocations: 8.188 kB / 1.34 GB, free: 2.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.4775, allocations: 8 kB / 1.34 GB, free: 2.527 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4775, allocations: 4 kB / 1.34 GB, free: 2.523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.4782, allocations: 0.4939 MB / 1.341 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.4783, allocations: 43.67 kB / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.4783, allocations: 8 kB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.4786, allocations: 8 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.4786, allocations: 35.83 kB / 1.341 GB, free: 1.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.4787, allocations: 20 kB / 1.341 GB, free: 1.879 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002185/0.4789, allocations: 197.2 kB / 1.341 GB, free: 1.691 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4789, allocations: 0 / 1.341 GB, free: 1.691 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005236/0.4794, allocations: 127.6 kB / 1.341 GB, free: 1.566 MB / 1.029 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.0002053/0.4796, allocations: 116.8 kB / 1.341 GB, free: 1.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008249/0.4804, allocations: 394 kB / 1.342 GB, free: 1.047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4804, allocations: 8.062 kB / 1.342 GB, free: 1.039 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.4807, allocations: 121.8 kB / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.4813, allocations: 54.66 kB / 1.342 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.4828, allocations: 0.7385 MB / 1.342 GB, free: 84 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4831, allocations: 216 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.4832, allocations: 42.94 kB / 1.343 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.4833, allocations: 27.44 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.4833, allocations: 4 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of Templates: time 0.009739/0.4931, allocations: 3.809 MB / 1.346 GB, free: 12.03 MB / 1.045 GB " [Timeout remaining time 299] 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: 10.191670997068286]