Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 177.9 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 0.7949 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009119/0.0009118, allocations: 96.31 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004115, allocations: 10.25 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3234, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.428/4.752, allocations: 1.954 GB / 3.177 GB, free: 58.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/4.752, allocations: 100.5 kB / 3.177 GB, free: 58.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.013/12.77, allocations: 2.005 GB / 5.182 GB, free: 178.4 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.783e-06/12.77, allocations: 0 / 5.182 GB, free: 178.4 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003224/12.77, allocations: 62.06 kB / 5.182 GB, free: 178.4 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.0111/12.78, allocations: 3.089 MB / 5.185 GB, free: 177.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/12.78, allocations: 9.719 kB / 5.185 GB, free: 177.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006666/12.78, allocations: 0.8789 MB / 5.186 GB, free: 177 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008016/12.79, allocations: 2.38 MB / 5.188 GB, free: 176.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/12.79, allocations: 117.5 kB / 5.188 GB, free: 176.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004793/12.79, allocations: 162.8 kB / 5.188 GB, free: 176.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/12.8, allocations: 1.78 MB / 5.19 GB, free: 176.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/12.8, allocations: 0 / 5.19 GB, free: 176.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/12.8, allocations: 64.89 kB / 5.19 GB, free: 176.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/12.8, allocations: 54.31 kB / 5.19 GB, free: 176.4 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/12.8, allocations: 1.506 MB / 5.192 GB, free: 176.4 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01335/12.81, allocations: 8.175 MB / 5.2 GB, free: 172.5 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/12.82, allocations: 1.786 MB / 5.202 GB, free: 171.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004741/12.82, allocations: 216 kB / 5.202 GB, free: 171.5 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/12.82, allocations: 0.6664 MB / 5.202 GB, free: 171.5 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001387/12.82, allocations: 115.9 kB / 5.202 GB, free: 171.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=104): time 4.368e-06/12.82, allocations: 0 / 5.202 GB, free: 171.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=107): time 0.009436/12.83, allocations: 3.604 MB / 5.206 GB, free: 170.6 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/12.83, allocations: 118.5 kB / 5.206 GB, free: 170.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/12.83, allocations: 1.316 MB / 5.207 GB, free: 170.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000219/12.83, allocations: 53.52 kB / 5.207 GB, free: 170.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/12.83, allocations: 0.955 MB / 5.208 GB, free: 169.9 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/12.83, allocations: 376.4 kB / 5.209 GB, free: 169.7 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/12.83, allocations: 21.66 kB / 5.209 GB, free: 169.7 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001451/12.83, allocations: 351.8 kB / 5.209 GB, free: 169.4 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/12.83, allocations: 0.5005 MB / 5.21 GB, free: 169.4 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/12.83, allocations: 0.8409 MB / 5.21 GB, free: 169 MB / 1.182 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/12.84, allocations: 2.367 MB / 5.213 GB, free: 168.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/12.84, allocations: 3.688 kB / 5.213 GB, free: 168.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003555/12.85, allocations: 1.606 MB / 5.214 GB, free: 168.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007577/12.85, allocations: 2.946 MB / 5.217 GB, free: 165.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/12.85, allocations: 7.875 kB / 5.217 GB, free: 165.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/12.85, allocations: 58.33 kB / 5.217 GB, free: 165.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/12.85, allocations: 293.1 kB / 5.218 GB, free: 165.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/12.85, allocations: 1.588 MB / 5.219 GB, free: 164.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/12.85, allocations: 183 kB / 5.219 GB, free: 164.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/12.85, allocations: 55.14 kB / 5.219 GB, free: 164.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/12.85, allocations: 8.234 kB / 5.219 GB, free: 164.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002714/12.86, allocations: 1.409 MB / 5.221 GB, free: 164.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/12.86, allocations: 11.31 kB / 5.221 GB, free: 164.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/12.86, allocations: 55.2 kB / 5.221 GB, free: 164.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/12.86, allocations: 292.4 kB / 5.221 GB, free: 164.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/12.86, allocations: 1.594 MB / 5.223 GB, free: 162.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/12.86, allocations: 180.5 kB / 5.223 GB, free: 162.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/12.86, allocations: 54.3 kB / 5.223 GB, free: 162.8 MB / 1.182 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001557/12.86, allocations: 0.5867 MB / 5.223 GB, free: 162.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/12.86, allocations: 195.8 kB / 5.224 GB, free: 162.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/12.87, allocations: 1.416 MB / 5.225 GB, free: 162.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/12.87, allocations: 11.31 kB / 5.225 GB, free: 162.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/12.87, allocations: 2.688 kB / 5.225 GB, free: 162.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002137/12.87, allocations: 1.178 MB / 5.226 GB, free: 162.3 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007344/12.88, allocations: 3.561 MB / 5.23 GB, free: 161.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/12.88, allocations: 0 / 5.23 GB, free: 161.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/12.88, allocations: 231.6 kB / 5.23 GB, free: 161.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/12.88, allocations: 85.31 kB / 5.23 GB, free: 161.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/12.88, allocations: 29.77 kB / 5.23 GB, free: 161.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/12.88, allocations: 2.944 MB / 5.233 GB, free: 159.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/12.88, allocations: 0 / 5.233 GB, free: 159.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/12.88, allocations: 2.19 MB / 5.235 GB, free: 158.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/12.89, allocations: 378.2 kB / 5.235 GB, free: 158.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/12.89, allocations: 24.05 kB / 5.235 GB, free: 158.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/12.89, allocations: 152.6 kB / 5.235 GB, free: 158.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/12.89, allocations: 83.88 kB / 5.236 GB, free: 158.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/12.89, allocations: 40.55 kB / 5.236 GB, free: 158.4 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001637/12.89, allocations: 1.016 MB / 5.237 GB, free: 158.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.4e-07/12.89, allocations: 0 / 5.237 GB, free: 158.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005269/12.9, allocations: 1.255 MB / 5.238 GB, free: 158.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (vol.dynBal.medium.Xi[1],vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.medium.Xi[1],hea.vol.dynBal.U,hea.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005548/12.9, allocations: 3.444 MB / 5.241 GB, free: 156.9 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004679/12.91, allocations: 2.329 MB / 5.243 GB, free: 156.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/12.91, allocations: 0 / 5.243 GB, free: 156.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/12.91, allocations: 0.8675 MB / 5.244 GB, free: 156.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004853/12.91, allocations: 0.9452 MB / 5.245 GB, free: 156.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009051/12.92, allocations: 4.834 MB / 5.25 GB, free: 154.2 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/12.92, allocations: 1.625 MB / 5.252 GB, free: 153.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002866/12.92, allocations: 0.5247 MB / 5.252 GB, free: 153.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/12.93, allocations: 143.1 kB / 5.252 GB, free: 153.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.102e-06/12.93, allocations: 0 / 5.252 GB, free: 153.5 MB / 1.182 GB Notification: Performance of Templates: time 0.111/13.04, allocations: 67.45 MB / 5.318 GB, free: 115.7 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches