Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008537/0.0008537, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 181.6 kB / 16.92 MB, free: 6.918 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.461/1.461, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.751/2.751, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005095, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.008, allocations: 142.4 MB / 0.9557 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001958/1.01, allocations: 1.533 MB / 0.9572 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002563/1.01, allocations: 118.5 kB / 0.9573 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/1.01, allocations: 0.9062 kB / 0.9573 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/1.01, allocations: 9.078 kB / 0.9573 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.677e-05/1.01, allocations: 45.06 kB / 0.9574 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/1.01, allocations: 31.25 kB / 0.9574 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/1.011, allocations: 173.2 kB / 0.9576 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/1.011, allocations: 24.11 kB / 0.9576 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/1.011, allocations: 44.72 kB / 0.9576 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/1.011, allocations: 68.05 kB / 0.9577 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/1.011, allocations: 4.625 kB / 0.9577 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.425e-05/1.011, allocations: 4.75 kB / 0.9577 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/1.011, allocations: 23.41 kB / 0.9577 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.659e-05/1.011, allocations: 84.47 kB / 0.9578 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/1.011, allocations: 84.84 kB / 0.9579 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.011, allocations: 0 / 0.9579 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/1.011, allocations: 0 / 0.9579 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/1.011, allocations: 0 / 0.9579 GB, free: 6.055 MB / 0.7169 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.0006683/1.012, allocations: 444.9 kB / 0.9583 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.012, allocations: 9.031 kB / 0.9583 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/1.012, allocations: 15.31 kB / 0.9583 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/1.012, allocations: 204.4 kB / 0.9585 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.012, allocations: 7.469 kB / 0.9585 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/1.012, allocations: 9.016 kB / 0.9585 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/1.013, allocations: 134.2 kB / 0.9587 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.013, allocations: 1.469 kB / 0.9587 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/1.013, allocations: 3.938 kB / 0.9587 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.013, allocations: 2.656 kB / 0.9587 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/1.013, allocations: 115.9 kB / 0.9588 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/1.014, allocations: 476.3 kB / 0.9592 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/1.014, allocations: 138.6 kB / 0.9594 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/1.014, allocations: 65.44 kB / 0.9594 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/1.014, allocations: 1.969 kB / 0.9594 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/1.014, allocations: 38.55 kB / 0.9595 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/1.014, allocations: 4 kB / 0.9595 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006043/1.015, allocations: 206.4 kB / 0.9597 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/1.015, allocations: 78.48 kB / 0.9598 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.015, allocations: 170.7 kB / 0.9599 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/1.015, allocations: 25.7 kB / 0.9599 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/1.015, allocations: 109.5 kB / 0.96 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/1.015, allocations: 31.67 kB / 0.9601 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/1.015, allocations: 16.47 kB / 0.9601 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.626e-05/1.015, allocations: 329.5 kB / 0.9604 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/1.015, allocations: 52.78 kB / 0.9605 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/1.016, allocations: 70.67 kB / 0.9605 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/1.016, allocations: 108.9 kB / 0.9606 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.016, allocations: 0 / 0.9606 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003509/1.016, allocations: 158.8 kB / 0.9608 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.016, allocations: 6.906 kB / 0.9608 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.016, allocations: 5.438 kB / 0.9608 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.016, allocations: 0 / 0.9608 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/1.016, allocations: 41.91 kB / 0.9608 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.016, allocations: 0 / 0.9608 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/1.017, allocations: 22.83 kB / 0.9609 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/1.017, allocations: 5.312 kB / 0.9609 GB, free: 3.508 MB / 0.7169 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 7.809e-05/1.017, allocations: 121.3 kB / 0.961 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/1.017, allocations: 14.78 kB / 0.961 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/1.017, allocations: 165.8 kB / 0.9611 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.017, allocations: 6.688 kB / 0.9611 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.017, allocations: 3.984 kB / 0.9612 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.017, allocations: 1.375 kB / 0.9612 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/1.018, allocations: 227.3 kB / 0.9614 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.018, allocations: 0 / 0.9614 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/1.018, allocations: 24.2 kB / 0.9614 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/1.018, allocations: 1.062 kB / 0.9614 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/1.018, allocations: 0.9375 kB / 0.9614 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.018, allocations: 4.969 kB / 0.9614 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.018, allocations: 12.89 kB / 0.9614 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/1.018, allocations: 330.6 kB / 0.9617 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/1.018, allocations: 93.03 kB / 0.9618 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/1.018, allocations: 4.844 kB / 0.9618 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/1.018, allocations: 17.55 kB / 0.9618 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/1.018, allocations: 6.672 kB / 0.9618 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/1.018, allocations: 7.094 kB / 0.9619 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.016e-05/1.019, allocations: 130.8 kB / 0.962 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.019, allocations: 0 / 0.962 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002932/1.019, allocations: 29.56 kB / 0.962 GB, free: 2.516 MB / 0.7169 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.0001126/1.019, allocations: 100 kB / 0.9621 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003864/1.019, allocations: 119.8 kB / 0.9622 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.019, allocations: 3.938 kB / 0.9622 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/1.02, allocations: 62.28 kB / 0.9623 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/1.02, allocations: 38.89 kB / 0.9623 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/1.021, allocations: 296.8 kB / 0.9626 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/1.021, allocations: 0.7027 MB / 0.9633 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/1.021, allocations: 13.53 kB / 0.9633 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/1.021, allocations: 0.7812 kB / 0.9633 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of Templates: time 0.003714/1.025, allocations: 1.735 MB / 0.965 GB, free: 488 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches