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.001797/0.001797, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002359/0.002359, allocations: 218.5 kB / 23.01 MB, free: 4.605 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.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.261/3.261, allocations: 0.49 GB / 0.7958 GB, free: 33.32 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.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: 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.002116/0.002116, allocations: 66.61 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3652, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00311/0.3684, allocations: 1.859 MB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002902/0.3686, allocations: 119.6 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.3687, allocations: 7.938 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.3688, allocations: 11.86 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.138e-05/0.3689, allocations: 51.55 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.3691, allocations: 35.89 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3693, allocations: 175.1 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3694, allocations: 17.23 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.3695, allocations: 51.86 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3696, allocations: 71.69 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3696, allocations: 12 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.454e-05/0.3697, allocations: 8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.3697, allocations: 27.91 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.3698, allocations: 71.59 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3699, allocations: 123.5 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3699, allocations: 0 / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.37, allocations: 0 / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.37, allocations: 0 / 1.33 GB, free: 14.83 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007922/0.3708, allocations: 381.7 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3708, allocations: 8.031 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.3708, allocations: 16.84 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.3711, allocations: 142.4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3711, allocations: 8.312 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3711, allocations: 12.36 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.3714, allocations: 121.4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3714, allocations: 4.188 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.3715, allocations: 11.94 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3715, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.3718, allocations: 95.86 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007389/0.3725, allocations: 439.9 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.3729, allocations: 121.2 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.373, allocations: 57.78 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.3731, allocations: 7.984 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.3731, allocations: 34.56 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.3731, allocations: 3.938 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000561/0.3736, allocations: 173.5 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.3737, allocations: 85.05 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3739, allocations: 174.8 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3739, allocations: 29.7 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.374, allocations: 116.1 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.374, allocations: 27.75 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.3741, allocations: 21.7 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3742, allocations: 334.7 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.3744, allocations: 47.97 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3745, allocations: 53.69 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.3748, allocations: 113.8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3748, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003562/0.3752, allocations: 149.5 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3752, allocations: 5.875 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3752, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3752, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3754, allocations: 23.92 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3754, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3755, allocations: 11.98 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3755, allocations: 11.94 kB / 1.332 GB, free: 11.81 MB / 1.029 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.0001107/0.3756, allocations: 118.4 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.3757, allocations: 11.91 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.3761, allocations: 158.6 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3761, allocations: 0 / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3761, allocations: 4 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3761, allocations: 4 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.3764, allocations: 192.5 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3764, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.3765, allocations: 20.17 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3765, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3766, allocations: 4 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3766, allocations: 7.922 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3766, allocations: 7.984 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.377, allocations: 314.8 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.377, allocations: 19.89 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.377, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3772, allocations: 7.984 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.3773, allocations: 12.27 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.3773, allocations: 7.938 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001143/0.3774, allocations: 128.2 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3774, allocations: 3.938 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002891/0.3777, allocations: 28 kB / 1.333 GB, free: 10.7 MB / 1.029 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.000114/0.3778, allocations: 99.23 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.3781, allocations: 99.88 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3781, allocations: 4 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.3783, allocations: 55.91 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.3787, allocations: 42 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.3793, allocations: 257.3 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3796, allocations: 0.7083 MB / 1.335 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.3797, allocations: 11.44 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3797, allocations: 0 / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of Templates: time 0.003737/0.3834, allocations: 1.77 MB / 1.336 GB, free: 7.613 MB / 1.029 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=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/jenkins1/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: 11.609635740984231]