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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001408/0.001408, allocations: 107.6 kB / 16.41 MB, free: 6.406 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.001534/0.001534, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 67.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3/1.301, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003753/1.305, allocations: 1.826 MB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003731/1.306, allocations: 124.6 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/1.306, allocations: 1.125 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/1.306, allocations: 20.55 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/1.306, allocations: 49.3 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/1.306, allocations: 32.39 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002863/1.306, allocations: 164.7 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/1.307, allocations: 34.78 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/1.307, allocations: 57.5 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/1.307, allocations: 71.73 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/1.307, allocations: 9.188 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.686e-05/1.307, allocations: 10.09 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/1.307, allocations: 24.44 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.914e-05/1.307, allocations: 65.7 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/1.307, allocations: 124.2 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.307, allocations: 0 / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.915e-06/1.307, allocations: 0 / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.307, allocations: 5.062 kB / 1.091 GB, free: 3.824 MB / 0.8575 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.0008238/1.308, allocations: 442.4 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/1.308, allocations: 14.45 kB / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/1.308, allocations: 15.12 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/1.309, allocations: 218.2 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/1.309, allocations: 7.938 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/1.309, allocations: 5.031 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/1.309, allocations: 114.7 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.309, allocations: 0.7031 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/1.309, allocations: 13.75 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.309, allocations: 1.656 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/1.31, allocations: 93.34 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008187/1.31, allocations: 483.2 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/1.311, allocations: 124.2 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/1.311, allocations: 62.22 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/1.311, allocations: 6.422 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.311, allocations: 41.08 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/1.311, allocations: 0 / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006491/1.312, allocations: 173.9 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.312, allocations: 83.56 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/1.312, allocations: 172.5 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/1.312, allocations: 27.19 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/1.312, allocations: 109.7 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/1.312, allocations: 29.06 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/1.312, allocations: 22.02 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/1.312, allocations: 325.6 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/1.312, allocations: 47.59 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/1.313, allocations: 56.08 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/1.313, allocations: 104.4 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/1.313, allocations: 1.172 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004028/1.313, allocations: 149.8 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.313, allocations: 5.312 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.313, allocations: 1.531 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.313, allocations: 1.094 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/1.314, allocations: 22.27 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.314, allocations: 1 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/1.314, allocations: 14.39 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/1.314, allocations: 14.78 kB / 1.094 GB, free: 1.527 MB / 0.8575 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.387e-05/1.314, allocations: 118.6 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/1.314, allocations: 15.19 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/1.314, allocations: 167.6 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.314, allocations: 1.625 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.314, allocations: 0.7188 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.314, allocations: 5.406 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/1.315, allocations: 220.9 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.315, allocations: 0.75 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/1.315, allocations: 24.75 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.315, allocations: 1.484 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/1.315, allocations: 1.25 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/1.315, allocations: 1.469 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.315, allocations: 0.7031 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/1.316, allocations: 318 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/1.316, allocations: 86.61 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/1.316, allocations: 5.219 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/1.316, allocations: 8.75 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/1.316, allocations: 6.828 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/1.316, allocations: 15.23 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000122/1.316, allocations: 122.1 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.316, allocations: 0 / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00032/1.316, allocations: 36.38 kB / 1.095 GB, free: 0.6289 MB / 0.8575 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.0001456/1.316, allocations: 98.47 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004272/1.317, allocations: 102.8 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.317, allocations: 4.656 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/1.317, allocations: 56.47 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/1.318, allocations: 48.86 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/1.318, allocations: 262.1 kB / 1.096 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/1.319, allocations: 0.7069 MB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/1.319, allocations: 15.02 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/1.319, allocations: 0.6562 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.005722/1.324, allocations: 1.753 MB / 1.098 GB, free: 15.43 MB / 0.8731 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