Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001395/0.001395, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001567/0.001567, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.599/1.599, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.053/3.053, allocations: 496.2 MB / 0.7819 GB, free: 12.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 1.136 GB, free: 12.52 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485/1.487, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00332/1.49, allocations: 1.848 MB / 1.307 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003118/1.49, allocations: 130.1 kB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.3e-05/1.49, allocations: 0 / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/1.491, allocations: 15.09 kB / 1.307 GB, free: 32.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.518e-05/1.491, allocations: 54.39 kB / 1.307 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/1.491, allocations: 31.98 kB / 1.307 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/1.491, allocations: 175.6 kB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/1.491, allocations: 19.66 kB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/1.491, allocations: 52.72 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/1.491, allocations: 71.52 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/1.491, allocations: 11.31 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/1.491, allocations: 8.812 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/1.491, allocations: 22.16 kB / 1.308 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/1.492, allocations: 67.89 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/1.492, allocations: 125.8 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.492, allocations: 0 / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/1.492, allocations: 4 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.583e-06/1.492, allocations: 0 / 1.308 GB, free: 31.7 MB / 1.061 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.0007928/1.493, allocations: 461.2 kB / 1.308 GB, free: 31.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.493, allocations: 12.67 kB / 1.308 GB, free: 31.28 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/1.493, allocations: 10.55 kB / 1.308 GB, free: 31.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/1.493, allocations: 216.4 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/1.493, allocations: 6.969 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/1.493, allocations: 3.875 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/1.493, allocations: 120.7 kB / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/1.493, allocations: 192 / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/1.493, allocations: 6.812 kB / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.493, allocations: 0 / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/1.494, allocations: 97.5 kB / 1.309 GB, free: 30.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006871/1.494, allocations: 472.2 kB / 1.309 GB, free: 30.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/1.495, allocations: 126.9 kB / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/1.495, allocations: 58.81 kB / 1.309 GB, free: 30.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/1.495, allocations: 0 / 1.309 GB, free: 30.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/1.495, allocations: 37.66 kB / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/1.495, allocations: 0 / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0005291/1.495, allocations: 184.7 kB / 1.31 GB, free: 30.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/1.495, allocations: 77.11 kB / 1.31 GB, free: 30.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/1.495, allocations: 165.8 kB / 1.31 GB, free: 30.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/1.496, allocations: 32.42 kB / 1.31 GB, free: 30.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/1.496, allocations: 110.5 kB / 1.31 GB, free: 29.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/1.496, allocations: 36.84 kB / 1.31 GB, free: 29.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/1.496, allocations: 19.47 kB / 1.31 GB, free: 29.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.888e-05/1.496, allocations: 336.3 kB / 1.31 GB, free: 29.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/1.496, allocations: 37.44 kB / 1.31 GB, free: 29.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.496, allocations: 61.19 kB / 1.311 GB, free: 29.53 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/1.496, allocations: 100.2 kB / 1.311 GB, free: 29.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.496, allocations: 0 / 1.311 GB, free: 29.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003001/1.496, allocations: 151.2 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.497, allocations: 6.875 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.497, allocations: 4 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.497, allocations: 0 / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/1.497, allocations: 20.22 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.497, allocations: 2.75 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/1.497, allocations: 24.92 kB / 1.311 GB, free: 29.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/1.497, allocations: 6.812 kB / 1.311 GB, free: 29.39 MB / 1.061 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.231e-05/1.497, allocations: 118.9 kB / 1.311 GB, free: 29.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/1.497, allocations: 13.67 kB / 1.311 GB, free: 29.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/1.497, allocations: 164.6 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.497, allocations: 2.906 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/1.497, allocations: 3.375 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/1.497, allocations: 0 / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/1.498, allocations: 216.4 kB / 1.311 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.498, allocations: 0 / 1.311 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/1.498, allocations: 32.34 kB / 1.311 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.498, allocations: 0 / 1.311 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/1.498, allocations: 0 / 1.311 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.498, allocations: 2.875 kB / 1.311 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.498, allocations: 0 / 1.311 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/1.498, allocations: 317.5 kB / 1.312 GB, free: 28.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/1.498, allocations: 83.97 kB / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/1.498, allocations: 6.391 kB / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/1.498, allocations: 16.97 kB / 1.312 GB, free: 28.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/1.498, allocations: 6.719 kB / 1.312 GB, free: 28.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/1.498, allocations: 6.906 kB / 1.312 GB, free: 28.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.541e-05/1.498, allocations: 132.9 kB / 1.312 GB, free: 28.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.498, allocations: 0 / 1.312 GB, free: 28.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002757/1.499, allocations: 32.09 kB / 1.312 GB, free: 28.49 MB / 1.061 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.0001094/1.499, allocations: 103.4 kB / 1.312 GB, free: 28.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003348/1.499, allocations: 101.2 kB / 1.312 GB, free: 28.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.499, allocations: 0 / 1.312 GB, free: 28.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/1.499, allocations: 54.44 kB / 1.312 GB, free: 28.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/1.5, allocations: 40.16 kB / 1.312 GB, free: 28.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/1.5, allocations: 242 kB / 1.312 GB, free: 28.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/1.5, allocations: 0.7103 MB / 1.313 GB, free: 27.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.27e-05/1.5, allocations: 6.5 kB / 1.313 GB, free: 27.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/1.5, allocations: 24.55 kB / 1.313 GB, free: 27.44 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/1.5, allocations: 0 / 1.313 GB, free: 27.44 MB / 1.061 GB Notification: Performance of Templates: time 0.005139/1.506, allocations: 2.145 MB / 1.315 GB, free: 27.27 MB / 1.061 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.780457135289907]