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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 102.9 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 189.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.772/2.772, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002846/0.002846, allocations: 72.72 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3747, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003508/0.3783, allocations: 1.82 MB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.3787, allocations: 123.6 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.3788, allocations: 0 / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3789, allocations: 15.8 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.619e-05/0.379, allocations: 47.58 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.3792, allocations: 39.92 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.3794, allocations: 167.1 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3795, allocations: 21.11 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.3796, allocations: 59.8 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3798, allocations: 67.75 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.3798, allocations: 8 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.87e-05/0.3798, allocations: 12 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.3799, allocations: 23.91 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.38, allocations: 67.66 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3802, allocations: 127.8 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3802, allocations: 0 / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3802, allocations: 0 / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3802, allocations: 0 / 1.021 GB, free: 8.031 MB / 0.795 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.0008422/0.381, allocations: 454.9 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3811, allocations: 12.88 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.3811, allocations: 16.75 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.3814, allocations: 206.7 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3814, allocations: 4.375 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.3815, allocations: 12.31 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.3818, allocations: 115.9 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3818, allocations: 192 / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3818, allocations: 7.938 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3818, allocations: 0 / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.3821, allocations: 95.88 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/0.383, allocations: 480.5 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.3834, allocations: 133.2 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.3836, allocations: 65.81 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3836, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3836, allocations: 34.55 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.3836, allocations: 4 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0006238/0.3843, allocations: 177.5 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.3844, allocations: 81.11 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.3845, allocations: 171.9 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.3846, allocations: 29.7 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.3847, allocations: 108 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.3847, allocations: 39.61 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.3848, allocations: 25.72 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.385, allocations: 326.8 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3851, allocations: 39.97 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3853, allocations: 65.61 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3856, allocations: 97.67 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3856, allocations: 256 / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003743/0.386, allocations: 153.3 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.386, allocations: 4 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.386, allocations: 7.984 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3861, allocations: 0 / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3862, allocations: 27.98 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3862, allocations: 4 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3864, allocations: 7.984 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.3864, allocations: 7.938 kB / 1.023 GB, free: 4.816 MB / 0.795 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.0001175/0.3865, allocations: 117.8 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.3866, allocations: 19.75 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.387, allocations: 154.6 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3871, allocations: 4.188 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3871, allocations: 0 / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3871, allocations: 7.875 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.3874, allocations: 225.5 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3874, allocations: 0 / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3876, allocations: 19.98 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3876, allocations: 0 / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3876, allocations: 4 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.3876, allocations: 4 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3876, allocations: 0 / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.3881, allocations: 314.5 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.3882, allocations: 85.02 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.3882, allocations: 8 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.3884, allocations: 12.17 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.3885, allocations: 7.984 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3885, allocations: 11.94 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001167/0.3886, allocations: 123.2 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3886, allocations: 0 / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002929/0.3889, allocations: 24 kB / 1.024 GB, free: 3.598 MB / 0.795 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.0001291/0.389, allocations: 113 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.3894, allocations: 103.9 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3894, allocations: 0 / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3896, allocations: 52.2 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.3902, allocations: 57.95 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.3907, allocations: 257.2 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.3911, allocations: 0.7006 MB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.3912, allocations: 19.44 kB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of SimCode: time 4.1e-07/0.3912, allocations: 0 / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of Templates: time 0.00397/0.3952, allocations: 1.753 MB / 1.027 GB, free: 0.5156 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches