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.001338/0.001338, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001464/0.001464, allocations: 209.3 kB / 23.03 MB, free: 4.863 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.269/3.269, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002049/0.002049, allocations: 71.89 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3874, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003269/0.3907, allocations: 1.796 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.391, allocations: 115.6 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.3911, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.3912, allocations: 23.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.52e-05/0.3913, allocations: 47.56 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.3914, allocations: 31.95 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.3917, allocations: 175.1 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3918, allocations: 21.23 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.096e-05/0.3919, allocations: 51.8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.392, allocations: 63.75 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.3921, allocations: 12 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.3921, allocations: 12 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.3921, allocations: 23.86 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.293e-05/0.3922, allocations: 55.77 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.3924, allocations: 127.5 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3924, allocations: 0 / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3924, allocations: 0 / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.3924, allocations: 0 / 1.33 GB, free: 14.44 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.0007835/0.3932, allocations: 381.7 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3932, allocations: 8.031 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.3933, allocations: 20.78 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3935, allocations: 142.4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3935, allocations: 8.312 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3936, allocations: 8.375 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.3939, allocations: 117.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3939, allocations: 12.12 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.3939, allocations: 7.938 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3939, allocations: 3.984 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.3942, allocations: 91.92 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.3949, allocations: 396.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.3953, allocations: 129.2 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.3954, allocations: 57.78 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.3955, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.3955, allocations: 42.55 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.3955, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0005696/0.3961, allocations: 177.5 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.3961, allocations: 77.11 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3963, allocations: 164.9 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3963, allocations: 25.7 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.3964, allocations: 116 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3964, allocations: 31.73 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.3965, allocations: 21.72 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3966, allocations: 326.8 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3968, allocations: 43.97 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3969, allocations: 61.62 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.3972, allocations: 113.9 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3972, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003473/0.3976, allocations: 145.5 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.3976, allocations: 8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3976, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3976, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3978, allocations: 23.98 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3978, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3979, allocations: 11.98 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3979, allocations: 0 / 1.332 GB, free: 11.5 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.0001152/0.398, allocations: 130.2 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.398, allocations: 15.91 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.3985, allocations: 162.8 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3985, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3985, allocations: 3.938 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3985, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.3987, allocations: 157.3 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3987, allocations: 192 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.3989, allocations: 27.98 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3989, allocations: 4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3989, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3989, allocations: 7.938 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3989, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.3993, allocations: 318.5 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.3993, allocations: 7.953 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3994, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.3995, allocations: 11.98 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.3996, allocations: 12.22 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3996, allocations: 4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.625e-05/0.3997, allocations: 116 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3997, allocations: 4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002821/0.4, allocations: 31.95 kB / 1.333 GB, free: 10.44 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.0001244/0.4001, allocations: 99.19 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.4004, allocations: 103.9 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4004, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4006, allocations: 51.95 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.401, allocations: 42.05 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.4016, allocations: 265.2 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.4017, allocations: 97.05 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.4018, allocations: 15.44 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.4018, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of Templates: time 0.003717/0.4055, allocations: 1.749 MB / 1.336 GB, free: 7.98 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.476198443910107]