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.001969/0.001969, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.003007/0.003007, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.749/1.749, allocations: 230.6 MB / 256 MB, free: 7.996 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.419/3.419, allocations: 0.4899 GB / 0.7951 GB, free: 33.23 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.00214/0.00214, allocations: 71.3 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4243, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004334/0.4286, allocations: 2.214 MB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002564/0.4312, allocations: 1.603 MB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.4314, allocations: 8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.4316, allocations: 59.2 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.4319, allocations: 99.08 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008896/0.4328, allocations: 306.7 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007466/0.4335, allocations: 0.6448 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.434, allocations: 266.4 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.4343, allocations: 239.2 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.4346, allocations: 254.8 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.605e-05/0.4347, allocations: 68 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.4349, allocations: 95.98 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.435, allocations: 131.5 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.4353, allocations: 290.6 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008735/0.4362, allocations: 0.8052 MB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4362, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.016e-06/0.4362, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.4362, allocations: 4 kB / 1.333 GB, free: 10.35 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.001352/0.4376, allocations: 0.7564 MB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4376, allocations: 8.031 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.4379, allocations: 72.55 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.4384, allocations: 294 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.4384, allocations: 45.62 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.4385, allocations: 56.38 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.4393, allocations: 0.5071 MB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.4393, allocations: 4.188 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.4394, allocations: 23.94 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.4394, allocations: 16 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006839/0.4401, allocations: 357.1 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.4422, allocations: 1.4 MB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.4428, allocations: 275.2 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.4432, allocations: 165.6 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.4432, allocations: 7.984 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.4436, allocations: 195 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.654e-06/0.4436, allocations: 0 / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008542/0.4445, allocations: 398.7 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.4445, allocations: 81.11 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.445, allocations: 413.6 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.4451, allocations: 37.7 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.4453, allocations: 272.4 kB / 1.338 GB, free: 4.805 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4454, allocations: 115 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.4456, allocations: 86.08 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4457, allocations: 346.8 kB / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.446, allocations: 140.8 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.4464, allocations: 203.1 kB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.447, allocations: 343.6 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.447, allocations: 0 / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008524/0.4478, allocations: 474.5 kB / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.4479, allocations: 41.7 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4479, allocations: 4 kB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4479, allocations: 7.938 kB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.4482, allocations: 79.89 kB / 1.34 GB, free: 2.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.4482, allocations: 7.938 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.4486, allocations: 75.52 kB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.4486, allocations: 23.94 kB / 1.34 GB, free: 2.816 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.0002145/0.4489, allocations: 170.3 kB / 1.34 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.4489, allocations: 43.7 kB / 1.34 GB, free: 2.598 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/0.4496, allocations: 334.7 kB / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.4496, allocations: 4 kB / 1.341 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4496, allocations: 3.938 kB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4496, allocations: 4 kB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.4508, allocations: 0.9503 MB / 1.342 GB, free: 1.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4508, allocations: 0 / 1.342 GB, free: 1.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.4511, allocations: 64.09 kB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4511, allocations: 0 / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.4511, allocations: 8 kB / 1.342 GB, free: 1.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.4511, allocations: 7.984 kB / 1.342 GB, free: 1.152 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4511, allocations: 4 kB / 1.342 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.4518, allocations: 0.5094 MB / 1.342 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.4518, allocations: 51.69 kB / 1.342 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.4519, allocations: 11.98 kB / 1.342 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.4521, allocations: 15.94 kB / 1.342 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.4522, allocations: 27.95 kB / 1.342 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.4522, allocations: 15.94 kB / 1.342 GB, free: 492 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003249/0.4525, allocations: 291.2 kB / 1.343 GB, free: 204 kB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4525, allocations: 0 / 1.343 GB, free: 204 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004563/0.453, allocations: 107.7 kB / 1.343 GB, free: 96 kB / 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.0002107/0.4532, allocations: 119.1 kB / 1.343 GB, free: 15.97 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007041/0.4539, allocations: 365.5 kB / 1.343 GB, free: 15.6 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4539, allocations: 0 / 1.343 GB, free: 15.6 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.4541, allocations: 123.3 kB / 1.343 GB, free: 15.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.4547, allocations: 74.95 kB / 1.343 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.4561, allocations: 0.7489 MB / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.4566, allocations: 0.8276 MB / 1.345 GB, free: 13.76 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.4567, allocations: 47.25 kB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.4568, allocations: 35.44 kB / 1.345 GB, free: 13.68 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.4568, allocations: 0 / 1.345 GB, free: 13.68 MB / 1.045 GB Notification: Performance of Templates: time 0.009621/0.4664, allocations: 4.248 MB / 1.349 GB, free: 9.469 MB / 1.045 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: 9.910536404699087]