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.282/2.282, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001126/0.001126, allocations: 184.9 kB / 492.3 MB, free: 0.6055 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.61/1.61, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001139/0.001139, allocations: 86.77 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.88e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3551, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.133/6.488, allocations: 1.954 GB / 3.166 GB, free: 374 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/6.489, allocations: 91.95 kB / 3.166 GB, free: 373.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.598/14.09, allocations: 2.003 GB / 5.17 GB, free: 120.1 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.843e-06/14.09, allocations: 0 / 5.17 GB, free: 120.1 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002761/14.09, allocations: 55.98 kB / 5.17 GB, free: 120 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.008138/14.1, allocations: 2.563 MB / 5.172 GB, free: 117.4 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/14.1, allocations: 8.031 kB / 5.172 GB, free: 117.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006786/14.1, allocations: 0.8839 MB / 5.173 GB, free: 116.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007371/14.11, allocations: 2.357 MB / 5.175 GB, free: 114.1 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/14.11, allocations: 119 kB / 5.175 GB, free: 114 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/14.11, allocations: 156 kB / 5.176 GB, free: 113.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/14.11, allocations: 1.702 MB / 5.177 GB, free: 112.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/14.11, allocations: 0 / 5.177 GB, free: 112.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/14.11, allocations: 64 kB / 5.177 GB, free: 112 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/14.11, allocations: 54.89 kB / 5.177 GB, free: 111.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/14.12, allocations: 1.343 MB / 5.179 GB, free: 110.6 MB / 1.182 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.01155/14.13, allocations: 8.154 MB / 5.187 GB, free: 101.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/14.13, allocations: 1.63 MB / 5.188 GB, free: 100.1 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000772/14.13, allocations: 0.5777 MB / 5.189 GB, free: 99.48 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004454/14.13, allocations: 211.2 kB / 5.189 GB, free: 99.24 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008973/14.13, allocations: 0.5908 MB / 5.19 GB, free: 98.64 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001285/14.13, allocations: 123.2 kB / 5.19 GB, free: 98.52 MB / 1.182 GB Notification: Performance of pre-optimization done (n=104): time 3.627e-06/14.13, allocations: 0 / 5.19 GB, free: 98.52 MB / 1.182 GB Notification: Performance of matching and sorting (n=107): time 0.00552/14.14, allocations: 2.736 MB / 5.192 GB, free: 95.71 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/14.14, allocations: 115.8 kB / 5.192 GB, free: 95.58 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/14.14, allocations: 1.301 MB / 5.194 GB, free: 94.23 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/14.14, allocations: 53.7 kB / 5.194 GB, free: 94.17 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.000796/14.14, allocations: 0.9599 MB / 5.195 GB, free: 93.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/14.14, allocations: 378.5 kB / 5.195 GB, free: 92.82 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/14.14, allocations: 28 kB / 5.195 GB, free: 92.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001059/14.14, allocations: 345.9 kB / 5.195 GB, free: 92.45 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/14.14, allocations: 434.5 kB / 5.196 GB, free: 92.03 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008246/14.14, allocations: 0.7556 MB / 5.197 GB, free: 91.14 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.008127/14.15, allocations: 2.181 MB / 5.199 GB, free: 88.93 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/14.15, allocations: 4 kB / 5.199 GB, free: 88.92 MB / 1.182 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002692/14.15, allocations: 1.439 MB / 5.2 GB, free: 87.47 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008082/14.15, allocations: 2.945 MB / 5.203 GB, free: 84.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/14.15, allocations: 8 kB / 5.203 GB, free: 84.29 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/14.15, allocations: 44.84 kB / 5.203 GB, free: 84.24 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/14.16, allocations: 299.5 kB / 5.203 GB, free: 83.95 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/14.16, allocations: 1.503 MB / 5.205 GB, free: 82.32 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/14.16, allocations: 183.7 kB / 5.205 GB, free: 82.14 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/14.16, allocations: 55.98 kB / 5.205 GB, free: 82.08 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/14.16, allocations: 4 kB / 5.205 GB, free: 82.08 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001868/14.16, allocations: 1.256 MB / 5.206 GB, free: 80.82 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/14.16, allocations: 4 kB / 5.206 GB, free: 80.81 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/14.16, allocations: 44.84 kB / 5.206 GB, free: 80.77 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/14.16, allocations: 299.7 kB / 5.207 GB, free: 80.47 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009091/14.16, allocations: 1.495 MB / 5.208 GB, free: 78.84 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/14.17, allocations: 179.8 kB / 5.208 GB, free: 78.66 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/14.17, allocations: 51.98 kB / 5.208 GB, free: 78.61 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005233/14.17, allocations: 184.8 kB / 5.208 GB, free: 78.42 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/14.17, allocations: 205.6 kB / 5.209 GB, free: 78.22 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/14.17, allocations: 1.276 MB / 5.21 GB, free: 76.93 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/14.17, allocations: 11.94 kB / 5.21 GB, free: 76.92 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/14.17, allocations: 4 kB / 5.21 GB, free: 76.92 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001447/14.17, allocations: 1.008 MB / 5.211 GB, free: 75.89 MB / 1.182 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.007091/14.18, allocations: 3.455 MB / 5.214 GB, free: 72.29 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/14.18, allocations: 0 / 5.214 GB, free: 72.29 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/14.18, allocations: 235.7 kB / 5.214 GB, free: 72.06 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/14.18, allocations: 69.75 kB / 5.215 GB, free: 71.99 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/14.18, allocations: 35.95 kB / 5.215 GB, free: 71.95 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/14.18, allocations: 2.757 MB / 5.217 GB, free: 68.93 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/14.18, allocations: 4.031 kB / 5.217 GB, free: 68.93 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/14.19, allocations: 1.95 MB / 5.219 GB, free: 66.89 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/14.19, allocations: 378.6 kB / 5.22 GB, free: 66.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005859/14.19, allocations: 24 kB / 5.22 GB, free: 66.48 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/14.19, allocations: 151.7 kB / 5.22 GB, free: 66.33 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/14.19, allocations: 80.89 kB / 5.22 GB, free: 66.25 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/14.19, allocations: 43.97 kB / 5.22 GB, free: 66.21 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.00242/14.19, allocations: 0.9961 MB / 5.221 GB, free: 65.18 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.21e-07/14.19, allocations: 4 kB / 5.221 GB, free: 65.18 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006829/14.2, allocations: 1.257 MB / 5.222 GB, free: 63.92 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006502/14.21, allocations: 3.452 MB / 5.225 GB, free: 60.11 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004056/14.21, allocations: 2.16 MB / 5.227 GB, free: 57.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/14.21, allocations: 4.688 kB / 5.227 GB, free: 57.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/14.21, allocations: 0.7645 MB / 5.228 GB, free: 57.11 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005553/14.22, allocations: 0.945 MB / 5.229 GB, free: 56.17 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009779/14.23, allocations: 3.204 MB / 5.232 GB, free: 52.91 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/14.23, allocations: 1.633 MB / 5.234 GB, free: 51.25 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004622/14.23, allocations: 0.7064 MB / 5.235 GB, free: 50.54 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/14.23, allocations: 119.4 kB / 5.235 GB, free: 50.42 MB / 1.182 GB Notification: Performance of SimCode: time 1.953e-06/14.23, allocations: 0 / 5.235 GB, free: 50.42 MB / 1.182 GB Notification: Performance of Templates: time 1.041/15.27, allocations: 78.29 MB / 5.311 GB, free: 187.2 MB / 1.198 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