Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.306/3.306, allocations: 496 MB / 0.7835 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 65.39 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.4931, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003827/0.4969, allocations: 1.855 MB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003635/0.4972, allocations: 119.6 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.4974, allocations: 3.938 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.4975, allocations: 19.78 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.4976, allocations: 51.52 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.4978, allocations: 31.95 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.4981, allocations: 167.2 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.4982, allocations: 25.22 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.4983, allocations: 55.84 kB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.4985, allocations: 67.7 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.47e-05/0.4985, allocations: 11.94 kB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.121e-05/0.4986, allocations: 12 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.4986, allocations: 23.91 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.4987, allocations: 63.67 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.499, allocations: 131.5 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.499, allocations: 0 / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.464e-06/0.499, allocations: 0 / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.499, allocations: 0 / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009871/0.5, allocations: 377.6 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.5, allocations: 8.922 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.5001, allocations: 20.84 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.5005, allocations: 154.3 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.5005, allocations: 4.375 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.5005, allocations: 4.375 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.5009, allocations: 121.7 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5009, allocations: 192 / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.5009, allocations: 11.94 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.5009, allocations: 4 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.5012, allocations: 91.88 kB / 1.311 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.5021, allocations: 455.8 kB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.5026, allocations: 113.2 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.5027, allocations: 57.78 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.5028, allocations: 4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.5028, allocations: 42.5 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.5028, allocations: 0 / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0006346/0.5034, allocations: 181.5 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.5035, allocations: 77.11 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.5037, allocations: 174.3 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.5038, allocations: 25.7 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5039, allocations: 112 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.5039, allocations: 31.73 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.504, allocations: 25.67 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002248/0.5042, allocations: 334.8 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.5043, allocations: 36.22 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.5045, allocations: 61.69 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.5047, allocations: 109.6 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5047, allocations: 0 / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003454/0.5051, allocations: 145.5 kB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.5051, allocations: 9.406 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.5051, allocations: 0 / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.5052, allocations: 3.938 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.5053, allocations: 19.98 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.5053, allocations: 4 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.5054, allocations: 15.94 kB / 1.313 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.5054, allocations: 7.938 kB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001474/0.5056, allocations: 125.8 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.5056, allocations: 15.91 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.5061, allocations: 154.6 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5061, allocations: 4 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5061, allocations: 0 / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5061, allocations: 0 / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.5065, allocations: 204.8 kB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5065, allocations: 4 kB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.5066, allocations: 24.16 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5066, allocations: 0 / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.5066, allocations: 8.188 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5066, allocations: 0 / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5066, allocations: 3.938 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.5072, allocations: 322.5 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.5072, allocations: 11.94 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.5072, allocations: 0 / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.5074, allocations: 11.98 kB / 1.313 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.5074, allocations: 7.984 kB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.5075, allocations: 7.938 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001389/0.5076, allocations: 128.2 kB / 1.314 GB, free: 11.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.5076, allocations: 0 / 1.314 GB, free: 11.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003068/0.5079, allocations: 31.95 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001701/0.5081, allocations: 100 kB / 1.314 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003925/0.5085, allocations: 95.88 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5085, allocations: 0 / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.5086, allocations: 59.89 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.5091, allocations: 40.39 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.5098, allocations: 235.4 kB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.5102, allocations: 0.7084 MB / 1.315 GB, free: 9.773 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.485e-05/0.5103, allocations: 8.656 kB / 1.315 GB, free: 9.762 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.5104, allocations: 19.44 kB / 1.315 GB, free: 9.742 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/0.5104, allocations: 0 / 1.315 GB, free: 9.742 MB / 1.014 GB Notification: Performance of Templates: time 0.006617/0.517, allocations: 2.174 MB / 1.317 GB, free: 7.617 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Examples.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.032088432461023]