Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001458/0.001458, allocations: 111.1 kB / 15.99 MB, free: 6.359 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.001364/0.001364, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.438/1.438, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.699/2.699, allocations: 469.8 MB / 0.7427 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.64 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.352, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004115/0.3562, allocations: 1.891 MB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003608/0.3566, allocations: 119.6 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3567, allocations: 4 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.3569, allocations: 7.922 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.357, allocations: 43.61 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.3572, allocations: 27.97 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.3575, allocations: 179.1 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.3577, allocations: 17.12 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3578, allocations: 55.78 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.3579, allocations: 71.75 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.358, allocations: 8 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.358, allocations: 8 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.3581, allocations: 31.84 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3582, allocations: 63.72 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.3584, allocations: 88.09 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3584, allocations: 3.938 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3584, allocations: 0 / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3584, allocations: 0 / 1.067 GB, free: 12.49 MB / 0.8419 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.001008/0.3594, allocations: 454.9 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3595, allocations: 8.031 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.3595, allocations: 16.75 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3598, allocations: 198.5 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.3598, allocations: 8.375 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.3599, allocations: 8.359 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.3602, allocations: 126.2 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3603, allocations: 4.188 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.3603, allocations: 7.875 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3603, allocations: 4 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.3606, allocations: 95.92 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009183/0.3615, allocations: 476.5 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.362, allocations: 129.2 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.3622, allocations: 65.77 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.3622, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.3623, allocations: 30.56 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3623, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0006322/0.363, allocations: 181.5 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.3631, allocations: 81.11 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.3633, allocations: 171.6 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.3634, allocations: 25.7 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3635, allocations: 112 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.3635, allocations: 31.62 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.3636, allocations: 25.7 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.3638, allocations: 326.8 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.364, allocations: 47.91 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3641, allocations: 57.69 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.3645, allocations: 101.9 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3645, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000382/0.3649, allocations: 153.4 kB / 1.069 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3649, allocations: 4 kB / 1.069 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3649, allocations: 0 / 1.069 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.365, allocations: 4 kB / 1.069 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.3651, allocations: 19.98 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3652, allocations: 0 / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.3653, allocations: 15.98 kB / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.3653, allocations: 11.94 kB / 1.07 GB, free: 9.285 MB / 0.8419 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.0001159/0.3654, allocations: 117.8 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.3655, allocations: 15.81 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.3659, allocations: 158.5 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.366, allocations: 8 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.366, allocations: 0 / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.366, allocations: 3.938 kB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.3664, allocations: 221.7 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3664, allocations: 0 / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3665, allocations: 23.92 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3666, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3666, allocations: 7.984 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3666, allocations: 4 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3666, allocations: 0 / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/0.3671, allocations: 314.7 kB / 1.07 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.3671, allocations: 89.19 kB / 1.07 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.3672, allocations: 11.98 kB / 1.07 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.3674, allocations: 7.906 kB / 1.07 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.3674, allocations: 15.98 kB / 1.07 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.3674, allocations: 3.938 kB / 1.07 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001956/0.3676, allocations: 129.2 kB / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3676, allocations: 3.938 kB / 1.071 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002768/0.3679, allocations: 24 kB / 1.071 GB, free: 8.051 MB / 0.8419 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.0001299/0.3681, allocations: 107.2 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.3684, allocations: 103.9 kB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3684, allocations: 0 / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.3686, allocations: 55.91 kB / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.3691, allocations: 40 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.3697, allocations: 277.4 kB / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.3702, allocations: 0.7122 MB / 1.072 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.3702, allocations: 15.44 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3702, allocations: 0 / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of Templates: time 0.003736/0.374, allocations: 1.766 MB / 1.074 GB, free: 4.934 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches