Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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_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_9_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_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 387.4 MB / 394.9 MB, free: 13.3 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.00134/0.00134, allocations: 176.8 kB / 487.4 MB, free: 5.031 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.569/1.569, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 99.83 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.5e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3163, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.571/5.887, allocations: 1.96 GB / 3.166 GB, free: 331.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/5.887, allocations: 95.84 kB / 3.166 GB, free: 331.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.268/13.16, allocations: 2.067 GB / 5.233 GB, free: 24.84 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.343e-06/13.16, allocations: 0 / 5.233 GB, free: 24.84 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003438/13.16, allocations: 55.16 kB / 5.233 GB, free: 24.79 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.006592/13.16, allocations: 2.389 MB / 5.236 GB, free: 22.35 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/13.16, allocations: 8.562 kB / 5.236 GB, free: 22.34 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005715/13.17, allocations: 0.8668 MB / 5.236 GB, free: 21.47 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00649/13.17, allocations: 2.207 MB / 5.239 GB, free: 19.21 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/13.17, allocations: 52 kB / 5.239 GB, free: 19.16 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/13.18, allocations: 91.89 kB / 5.239 GB, free: 19.07 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002403/13.18, allocations: 1.083 MB / 5.24 GB, free: 17.99 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/13.18, allocations: 1.316 MB / 5.241 GB, free: 16.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/13.18, allocations: 7.922 kB / 5.241 GB, free: 16.59 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/13.18, allocations: 4 kB / 5.241 GB, free: 16.59 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/13.18, allocations: 46.52 kB / 5.241 GB, free: 16.54 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.01008/13.19, allocations: 7.257 MB / 5.248 GB, free: 8.73 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/13.19, allocations: 1.37 MB / 5.25 GB, free: 7.227 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/13.19, allocations: 427.6 kB / 5.25 GB, free: 6.805 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000948/13.19, allocations: 0.7553 MB / 5.251 GB, free: 5.902 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006419/13.19, allocations: 460.7 kB / 5.251 GB, free: 5.438 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001004/13.2, allocations: 103.3 kB / 5.251 GB, free: 5.336 MB / 1.182 GB Notification: Performance of pre-optimization done (n=86): time 4.809e-06/13.2, allocations: 0 / 5.251 GB, free: 5.336 MB / 1.182 GB Notification: Performance of matching and sorting (n=86): time 0.005494/13.2, allocations: 1.522 MB / 5.253 GB, free: 3.801 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/13.2, allocations: 111.6 kB / 5.253 GB, free: 3.668 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/13.2, allocations: 1.211 MB / 5.254 GB, free: 2.457 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/13.2, allocations: 33.7 kB / 5.254 GB, free: 2.418 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008009/13.2, allocations: 0.9201 MB / 5.255 GB, free: 1.488 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/13.2, allocations: 287.7 kB / 5.255 GB, free: 1.203 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/13.2, allocations: 3.938 kB / 5.255 GB, free: 1.199 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/13.2, allocations: 349.9 kB / 5.256 GB, free: 0.8516 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/13.2, allocations: 326.5 kB / 5.256 GB, free: 0.5312 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/13.21, allocations: 0.6755 MB / 5.257 GB, free: 15.7 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/13.21, allocations: 1.006 MB / 5.257 GB, free: 14.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/13.21, allocations: 8 kB / 5.257 GB, free: 14.69 MB / 1.198 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.006078/13.22, allocations: 1.712 MB / 5.259 GB, free: 12.97 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001343/13.22, allocations: 3.382 MB / 5.262 GB, free: 9.312 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/13.22, allocations: 16 kB / 5.262 GB, free: 9.297 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/13.22, allocations: 16 kB / 5.263 GB, free: 9.281 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/13.22, allocations: 267.6 kB / 5.263 GB, free: 9.02 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.348e-05/13.22, allocations: 23.88 kB / 5.263 GB, free: 8.996 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/13.22, allocations: 155.6 kB / 5.263 GB, free: 8.844 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/13.22, allocations: 55.98 kB / 5.263 GB, free: 8.789 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/13.22, allocations: 4 kB / 5.263 GB, free: 8.785 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005513/13.23, allocations: 1.474 MB / 5.264 GB, free: 7.309 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/13.23, allocations: 8 kB / 5.264 GB, free: 7.301 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/13.23, allocations: 16 kB / 5.264 GB, free: 7.285 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/13.23, allocations: 272.3 kB / 5.265 GB, free: 7.02 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/13.23, allocations: 23.92 kB / 5.265 GB, free: 6.996 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/13.23, allocations: 139.7 kB / 5.265 GB, free: 6.859 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/13.23, allocations: 51.98 kB / 5.265 GB, free: 6.809 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (133): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003315/13.23, allocations: 133.4 kB / 5.265 GB, free: 6.672 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004943/13.23, allocations: 181.7 kB / 5.265 GB, free: 6.492 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005764/13.24, allocations: 1.542 MB / 5.267 GB, free: 4.938 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/13.24, allocations: 12 kB / 5.267 GB, free: 4.926 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/13.24, allocations: 0 / 5.267 GB, free: 4.926 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004775/13.24, allocations: 1.62 MB / 5.268 GB, free: 3.215 MB / 1.198 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.7785/14.02, allocations: 3.184 MB / 5.271 GB, free: 200.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/14.02, allocations: 1.844 kB / 5.271 GB, free: 200.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/14.02, allocations: 185.3 kB / 5.272 GB, free: 200.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/14.02, allocations: 49.08 kB / 5.272 GB, free: 200.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.729e-05/14.02, allocations: 16.17 kB / 5.272 GB, free: 200.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/14.02, allocations: 1.385 MB / 5.273 GB, free: 199.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/14.02, allocations: 3.016 kB / 5.273 GB, free: 199.1 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/14.03, allocations: 2.129 MB / 5.275 GB, free: 198.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008527/14.03, allocations: 336.8 kB / 5.275 GB, free: 198.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/14.03, allocations: 13.8 kB / 5.275 GB, free: 198.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/14.03, allocations: 122.7 kB / 5.276 GB, free: 198.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/14.03, allocations: 67.62 kB / 5.276 GB, free: 198.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-05/14.03, allocations: 34.09 kB / 5.276 GB, free: 198.8 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001502/14.03, allocations: 0.9093 MB / 5.277 GB, free: 198.7 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.7e-07/14.03, allocations: 0 / 5.277 GB, free: 198.7 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004499/14.04, allocations: 1.155 MB / 5.278 GB, free: 198.6 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[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 (86): * Single equations (assignments): 83 * 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.005977/14.04, allocations: 3.698 MB / 5.281 GB, free: 197.4 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003091/14.05, allocations: 1.501 MB / 5.283 GB, free: 197.3 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/14.05, allocations: 4.594 kB / 5.283 GB, free: 197.3 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009495/14.05, allocations: 0.5109 MB / 5.283 GB, free: 197.2 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/14.05, allocations: 0.7334 MB / 5.284 GB, free: 197.1 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/14.06, allocations: 2.82 MB / 5.287 GB, free: 196.4 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/14.06, allocations: 1.528 MB / 5.288 GB, free: 195.7 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.003148/14.06, allocations: 0.6734 MB / 5.289 GB, free: 195.7 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/14.06, allocations: 107.8 kB / 5.289 GB, free: 195.7 MB / 1.198 GB Notification: Performance of SimCode: time 9.12e-07/14.06, allocations: 0.9062 kB / 5.289 GB, free: 195.7 MB / 1.198 GB Notification: Performance of Templates: time 0.07522/14.14, allocations: 46.51 MB / 5.334 GB, free: 194.8 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches