Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001321/0.001321, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.00138/0.00138, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.262 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.846/2.846, allocations: 443.4 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 75.88 kB / 1.059 GB, free: 420 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4683, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004669/0.473, allocations: 1.841 MB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00055/0.4736, allocations: 127.6 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.4738, allocations: 0 / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.4739, allocations: 15.8 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.4741, allocations: 51.56 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.4744, allocations: 43.94 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.4747, allocations: 171.1 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.4749, allocations: 21.06 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.475, allocations: 47.84 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.4752, allocations: 79.67 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.4752, allocations: 8 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.393e-05/0.4753, allocations: 12 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.4753, allocations: 23.92 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.4754, allocations: 67.66 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.4757, allocations: 119.5 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4757, allocations: 4 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4757, allocations: 3.938 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.4757, allocations: 0 / 1.219 GB, free: 12.74 MB / 0.9669 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.001059/0.4767, allocations: 460.4 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.4768, allocations: 8.031 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.4769, allocations: 12.89 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.4773, allocations: 215 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.4773, allocations: 4.375 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.4774, allocations: 8.375 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.4777, allocations: 119.8 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4777, allocations: 4.188 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.4777, allocations: 11.94 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4778, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.4781, allocations: 91.88 kB / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009903/0.4791, allocations: 472.7 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.4795, allocations: 125.2 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.4797, allocations: 57.78 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.4797, allocations: 4 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.4797, allocations: 34.56 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.4797, allocations: 0 / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006436/0.4804, allocations: 181.4 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.4804, allocations: 81.11 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.4807, allocations: 179.9 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.4807, allocations: 25.7 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.4808, allocations: 112 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.4808, allocations: 31.73 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.4809, allocations: 21.72 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4811, allocations: 322.8 kB / 1.221 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.4812, allocations: 51.91 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.4814, allocations: 57.67 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.4817, allocations: 105.9 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4817, allocations: 0 / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003622/0.482, allocations: 149.5 kB / 1.221 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4821, allocations: 4 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4821, allocations: 0 / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.4821, allocations: 4 kB / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.4823, allocations: 23.97 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4823, allocations: 3.938 kB / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.4824, allocations: 11.95 kB / 1.222 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.4824, allocations: 19.86 kB / 1.222 GB, free: 9.531 MB / 0.9669 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.0001245/0.4825, allocations: 117.8 kB / 1.222 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.4826, allocations: 8.141 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.4831, allocations: 158.5 kB / 1.222 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4831, allocations: 0 / 1.222 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.4831, allocations: 8 kB / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4831, allocations: 3.984 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.4834, allocations: 229.5 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4835, allocations: 4 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.4836, allocations: 19.98 kB / 1.222 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4836, allocations: 192 / 1.222 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4836, allocations: 0 / 1.222 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4836, allocations: 4.125 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4836, allocations: 4 kB / 1.222 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.4841, allocations: 322.5 kB / 1.222 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.4842, allocations: 89.06 kB / 1.222 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.4842, allocations: 0 / 1.222 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.4844, allocations: 11.98 kB / 1.222 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.4845, allocations: 11.98 kB / 1.222 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.4845, allocations: 11.88 kB / 1.222 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001427/0.4846, allocations: 123.2 kB / 1.223 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4846, allocations: 0 / 1.223 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003123/0.4849, allocations: 28 kB / 1.223 GB, free: 8.301 MB / 0.9669 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.0001421/0.4851, allocations: 95.25 kB / 1.223 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.4855, allocations: 103.9 kB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4855, allocations: 4 kB / 1.223 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.4856, allocations: 51.95 kB / 1.223 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.486, allocations: 36.31 kB / 1.223 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.4867, allocations: 243.2 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.4871, allocations: 0.7045 MB / 1.224 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.984e-05/0.4872, allocations: 8.656 kB / 1.224 GB, free: 7 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.4872, allocations: 15.44 kB / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of SimCode: time 1.062e-06/0.4872, allocations: 3.938 kB / 1.224 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.006386/0.4936, allocations: 2.146 MB / 1.226 GB, free: 4.883 MB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.603279472328722]