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.001824/0.001824, allocations: 106.7 kB / 16.41 MB, free: 6.027 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.001978/0.001978, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.16 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.697/2.697, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.89 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.128, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002961/1.131, allocations: 1.817 MB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003131/1.132, allocations: 123.6 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/1.132, allocations: 0 / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/1.132, allocations: 15.84 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/1.132, allocations: 51.5 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/1.132, allocations: 35.94 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/1.132, allocations: 171.2 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/1.133, allocations: 21.11 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.092e-05/1.133, allocations: 59.78 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/1.133, allocations: 71.69 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/1.133, allocations: 8 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/1.133, allocations: 12 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/1.133, allocations: 23.91 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/1.133, allocations: 67.66 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/1.133, allocations: 127.4 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.133, allocations: 0 / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/1.133, allocations: 0 / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.69e-06/1.133, allocations: 0 / 1.17 GB, free: 1.293 MB / 0.8887 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.0008125/1.134, allocations: 456.7 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.134, allocations: 11.98 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/1.134, allocations: 12.84 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/1.134, allocations: 208 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/1.134, allocations: 16.3 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/1.134, allocations: 4.375 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/1.135, allocations: 114.3 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/1.135, allocations: 8.188 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/1.135, allocations: 3.938 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.135, allocations: 0 / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/1.135, allocations: 99.86 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/1.136, allocations: 480.6 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/1.136, allocations: 125.2 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/1.137, allocations: 61.78 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/1.137, allocations: 8.016 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/1.137, allocations: 34.56 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/1.137, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005573/1.137, allocations: 185.3 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/1.137, allocations: 81.11 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/1.138, allocations: 170.4 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.138, allocations: 25.7 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/1.138, allocations: 112 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/1.138, allocations: 31.55 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/1.138, allocations: 21.72 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.138, allocations: 330.8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/1.138, allocations: 39.97 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/1.138, allocations: 57.69 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/1.138, allocations: 105.6 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.138, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003443/1.139, allocations: 149.4 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.139, allocations: 8 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.139, allocations: 0 / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.139, allocations: 0 / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/1.139, allocations: 20.36 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.139, allocations: 7.984 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/1.139, allocations: 15.84 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/1.139, allocations: 15.94 kB / 1.173 GB, free: 14.07 MB / 0.9044 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 9.369e-05/1.139, allocations: 120 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/1.139, allocations: 11.91 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/1.14, allocations: 154.7 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.14, allocations: 4 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.14, allocations: 7.938 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.14, allocations: 240 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/1.14, allocations: 225.4 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.14, allocations: 0 / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/1.14, allocations: 23.92 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.14, allocations: 3.984 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/1.14, allocations: 8 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.14, allocations: 0 / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.14, allocations: 0 / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/1.141, allocations: 314.6 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/1.141, allocations: 92.91 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/1.141, allocations: 0 / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/1.141, allocations: 7.984 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/1.141, allocations: 8 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/1.141, allocations: 11.94 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.544e-05/1.141, allocations: 128.2 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.141, allocations: 3.938 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002886/1.141, allocations: 31.94 kB / 1.174 GB, free: 12.84 MB / 0.9044 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.0001197/1.142, allocations: 99.25 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003419/1.142, allocations: 99.88 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.142, allocations: 4 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/1.142, allocations: 51.91 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/1.143, allocations: 54.59 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/1.143, allocations: 253.2 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/1.143, allocations: 0.7084 MB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/1.144, allocations: 15.38 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.144, allocations: 0 / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.003514/1.147, allocations: 1.761 MB / 1.177 GB, free: 9.758 MB / 0.9044 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=480 -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