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.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.0008871/0.0008871, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002194/0.003081, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001271/0.001271, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001767/0.003038, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.101/1.101, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.203, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.889/1.889, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4873/2.377, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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 1.303e-06/1.303e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.49e-05, allocations: 3.188 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002982/0.003007, allocations: 1.91 MB / 0.7312 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004338/0.003441, allocations: 127.3 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.003522, allocations: 4 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.895e-05/0.003601, allocations: 16.78 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.003711, allocations: 57.41 kB / 0.7314 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.00382, allocations: 31.95 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.004044, allocations: 175.6 kB / 0.7316 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.00415, allocations: 21.88 kB / 0.7316 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.004318, allocations: 104.5 kB / 0.7317 GB, free: 2.156 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.528e-05/0.004413, allocations: 57.59 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.004446, allocations: 8 kB / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.004469, allocations: 12 kB / 0.7317 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.004495, allocations: 19.88 kB / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.004552, allocations: 35.94 kB / 0.7318 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.004714, allocations: 92.55 kB / 0.7319 GB, free: 1.938 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.77e-05/0.004731, allocations: 0 / 0.7319 GB, free: 1.938 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.004733, allocations: 1 kB / 0.7319 GB, free: 1.938 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.004751, allocations: 0 / 0.7319 GB, free: 1.938 MB / 0.698 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.0006237/0.005375, allocations: 373.4 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.005407, allocations: 8.031 kB / 0.7323 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.005453, allocations: 17.61 kB / 0.7323 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.005639, allocations: 139.3 kB / 0.7324 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.005653, allocations: 4.375 kB / 0.7324 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.005668, allocations: 8.375 kB / 0.7324 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/0.008887, allocations: 104.5 kB / 0.7325 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.008898, allocations: 4.844 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.00891, allocations: 4.375 kB / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.008916, allocations: 5.25 kB / 0.7325 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.131e-05/0.009007, allocations: 27.86 kB / 0.7326 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.00956, allocations: 309.9 kB / 0.7329 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.00977, allocations: 69.92 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.009833, allocations: 38.27 kB / 0.733 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.009859, allocations: 0.9375 kB / 0.733 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.00989, allocations: 42.58 kB / 0.733 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.009892, allocations: 0 / 0.733 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002196/0.01011, allocations: 78.48 kB / 0.7331 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.01015, allocations: 77.11 kB / 0.7331 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.01028, allocations: 155.8 kB / 0.7333 GB, free: 364 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.0103, allocations: 29.7 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.01035, allocations: 104 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.01038, allocations: 35.72 kB / 0.7335 GB, free: 184 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.01043, allocations: 18.38 kB / 0.7335 GB, free: 160 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.01054, allocations: 326.8 kB / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.01057, allocations: 9.781 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.212e-05/0.01061, allocations: 25.64 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.01069, allocations: 41.94 kB / 0.7339 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01069, allocations: 0 / 0.7339 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001289/0.01082, allocations: 78.23 kB / 0.7339 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.01084, allocations: 4 kB / 0.7339 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01085, allocations: 8.766 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.01086, allocations: 0 / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.01099, allocations: 20.92 kB / 0.734 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01099, allocations: 4 kB / 0.734 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.01106, allocations: 16.47 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.01107, allocations: 0 / 0.734 GB, free: 15.61 MB / 0.7136 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 7.018e-05/0.01114, allocations: 114.5 kB / 0.7341 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.01119, allocations: 21.08 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.01137, allocations: 82.75 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01137, allocations: 1.031 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01138, allocations: 0 / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.01138, allocations: 3.984 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.01158, allocations: 102.4 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01158, allocations: 0 / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/0.01476, allocations: 21.95 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.01479, allocations: 11.91 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.0148, allocations: 11.94 kB / 0.7343 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01481, allocations: 3.984 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01481, allocations: 1.219 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01482, allocations: 0 / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.01502, allocations: 238.8 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.01504, allocations: 0.75 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.01517, allocations: 7.938 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.01521, allocations: 12.73 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.01522, allocations: 0 / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.01527, allocations: 40.41 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/0.01527, allocations: 0 / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002676/0.01554, allocations: 32 kB / 0.7347 GB, free: 14.88 MB / 0.7136 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.0001276/0.01567, allocations: 77.36 kB / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.0158, allocations: 44.77 kB / 0.7348 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/0.01581, allocations: 10.55 kB / 0.7348 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.01586, allocations: 20.8 kB / 0.7348 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.01623, allocations: 61.11 kB / 0.7349 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00622/0.02245, allocations: 233.3 kB / 0.7351 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.976e-05/0.02255, allocations: 67.34 kB / 0.7352 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.02266, allocations: 15.2 kB / 0.7352 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.0228, allocations: 84.28 kB / 0.7352 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of SimCode: time 1.773e-06/0.0228, allocations: 0 / 0.7352 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of Templates: time 0.005446/0.02825, allocations: 2.403 MB / 0.7376 GB, free: 11.97 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.ref.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.017800904810429]