Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 172.9 kB / 316.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001068, allocations: 89.91 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.698e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2405, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.499/6.739, allocations: 2.246 GB / 3.132 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/6.74, allocations: 93.81 kB / 3.132 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.022/14.76, allocations: 1.982 GB / 5.114 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.883e-06/14.76, allocations: 0 / 5.114 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002514/14.76, allocations: 67.86 kB / 5.114 GB, free: 109.4 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.007564/14.77, allocations: 2.446 MB / 5.117 GB, free: 108.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/14.77, allocations: 9.469 kB / 5.117 GB, free: 108.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005551/14.78, allocations: 0.7566 MB / 5.117 GB, free: 108.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006295/14.78, allocations: 2.225 MB / 5.12 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/14.78, allocations: 44.69 kB / 5.12 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/14.78, allocations: 89.53 kB / 5.12 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002107/14.78, allocations: 1.082 MB / 5.121 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/14.79, allocations: 1.329 MB / 5.122 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/14.79, allocations: 4.312 kB / 5.122 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/14.79, allocations: 0 / 5.122 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/14.79, allocations: 57.62 kB / 5.122 GB, free: 107.5 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009602/14.8, allocations: 7.167 MB / 5.129 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/14.8, allocations: 1.351 MB / 5.13 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/14.8, allocations: 401.6 kB / 5.131 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/14.8, allocations: 0.7566 MB / 5.132 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006484/14.8, allocations: 450.4 kB / 5.132 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001068/14.8, allocations: 106.1 kB / 5.132 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=84): time 3.437e-06/14.8, allocations: 3.781 kB / 5.132 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84): time 0.00539/14.81, allocations: 1.484 MB / 5.134 GB, free: 102 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/14.81, allocations: 165.7 kB / 5.134 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/14.81, allocations: 1.238 MB / 5.135 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/14.81, allocations: 29.61 kB / 5.135 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007782/14.81, allocations: 0.9296 MB / 5.136 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/14.81, allocations: 287.9 kB / 5.136 GB, free: 101 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/14.81, allocations: 0 / 5.136 GB, free: 101 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/14.81, allocations: 356.8 kB / 5.136 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/14.81, allocations: 331.6 kB / 5.137 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006807/14.81, allocations: 0.7102 MB / 5.137 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004025/14.81, allocations: 1.036 MB / 5.138 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/14.81, allocations: 0 / 5.138 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005584/14.82, allocations: 1.734 MB / 5.14 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009646/14.82, allocations: 3.48 MB / 5.144 GB, free: 96.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/14.82, allocations: 14.53 kB / 5.144 GB, free: 96.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.738e-05/14.82, allocations: 15.59 kB / 5.144 GB, free: 96.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/14.82, allocations: 259.8 kB / 5.144 GB, free: 96.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.387e-05/14.82, allocations: 20.44 kB / 5.144 GB, free: 96.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/14.82, allocations: 124.2 kB / 5.144 GB, free: 96.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/14.82, allocations: 55.91 kB / 5.144 GB, free: 96.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/14.82, allocations: 4.594 kB / 5.144 GB, free: 96.43 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004704/14.83, allocations: 1.504 MB / 5.145 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/14.83, allocations: 11.69 kB / 5.146 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/14.83, allocations: 18.31 kB / 5.146 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009244/14.83, allocations: 255.3 kB / 5.146 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/14.83, allocations: 19.52 kB / 5.146 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/14.83, allocations: 131.2 kB / 5.146 GB, free: 96.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/14.83, allocations: 53.3 kB / 5.146 GB, free: 96.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00034/14.83, allocations: 139.6 kB / 5.146 GB, free: 96.29 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005462/14.83, allocations: 179.1 kB / 5.146 GB, free: 96.19 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005378/14.84, allocations: 1.512 MB / 5.148 GB, free: 96.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/14.84, allocations: 11.8 kB / 5.148 GB, free: 96.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/14.84, allocations: 1.906 kB / 5.148 GB, free: 96.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004355/14.84, allocations: 1.593 MB / 5.149 GB, free: 95.63 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009362/14.85, allocations: 3.058 MB / 5.152 GB, free: 95.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/14.85, allocations: 7.312 kB / 5.152 GB, free: 95.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008559/14.85, allocations: 176.1 kB / 5.152 GB, free: 95.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/14.85, allocations: 45.03 kB / 5.153 GB, free: 95.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/14.85, allocations: 14.64 kB / 5.153 GB, free: 95.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/14.86, allocations: 1.385 MB / 5.154 GB, free: 93.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/14.86, allocations: 2.516 kB / 5.154 GB, free: 93.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005633/14.86, allocations: 2.108 MB / 5.156 GB, free: 93.51 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/14.86, allocations: 332.8 kB / 5.156 GB, free: 93.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/14.86, allocations: 8.156 kB / 5.156 GB, free: 93.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/14.86, allocations: 135.6 kB / 5.156 GB, free: 93.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/14.86, allocations: 59.94 kB / 5.156 GB, free: 93.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/14.86, allocations: 35.25 kB / 5.156 GB, free: 93.31 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00184/14.87, allocations: 0.9227 MB / 5.157 GB, free: 93.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.41e-07/14.87, allocations: 0 / 5.157 GB, free: 93.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005543/14.87, allocations: 1.192 MB / 5.159 GB, free: 92.99 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006276/14.88, allocations: 3.75 MB / 5.162 GB, free: 91.57 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003136/14.88, allocations: 1.568 MB / 5.164 GB, free: 91.36 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/14.88, allocations: 6.438 kB / 5.164 GB, free: 91.36 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009347/14.88, allocations: 0.4886 MB / 5.164 GB, free: 91.26 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0046/14.89, allocations: 0.7529 MB / 5.165 GB, free: 91.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/14.89, allocations: 2.837 MB / 5.168 GB, free: 90.47 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/14.9, allocations: 1.543 MB / 5.169 GB, free: 89.74 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003644/14.9, allocations: 0.6536 MB / 5.17 GB, free: 89.71 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/14.9, allocations: 109.5 kB / 5.17 GB, free: 89.71 MB / 0.9167 GB Notification: Performance of SimCode: time 1.423e-06/14.9, allocations: 0 / 5.17 GB, free: 89.71 MB / 0.9167 GB Notification: Performance of Templates: time 0.08336/14.98, allocations: 47.67 MB / 5.217 GB, free: 76.36 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches