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.332/2.332, allocations: 387.1 MB / 399.7 MB, free: 9.414 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.001233/0.001233, allocations: 180.1 kB / 492.3 MB, free: 0.6094 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.854/1.854, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.001017/0.001017, allocations: 91 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.169e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3112, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.883/6.194, allocations: 1.961 GB / 3.173 GB, free: 309.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/6.194, allocations: 101.9 kB / 3.173 GB, free: 309.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.562/14.76, allocations: 2.089 GB / 5.262 GB, free: 194.7 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.603e-06/14.76, allocations: 0 / 5.262 GB, free: 194.7 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0003051/14.76, allocations: 62.31 kB / 5.262 GB, free: 194.7 MB / 1.198 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.009404/14.77, allocations: 2.387 MB / 5.264 GB, free: 194.2 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/14.77, allocations: 11.81 kB / 5.264 GB, free: 194.2 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006788/14.77, allocations: 0.8626 MB / 5.265 GB, free: 194 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008654/14.78, allocations: 2.22 MB / 5.267 GB, free: 193.7 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/14.78, allocations: 108.6 kB / 5.268 GB, free: 193.7 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003992/14.78, allocations: 144.2 kB / 5.268 GB, free: 193.7 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/14.79, allocations: 1.494 MB / 5.269 GB, free: 193.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/14.79, allocations: 0.8438 kB / 5.269 GB, free: 193.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/14.79, allocations: 56 kB / 5.269 GB, free: 193.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-05/14.79, allocations: 51.14 kB / 5.269 GB, free: 193.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/14.79, allocations: 1.147 MB / 5.27 GB, free: 193.4 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 preOpt removeSimpleEquations (simulation): time 0.01234/14.8, allocations: 7.507 MB / 5.278 GB, free: 189.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/14.8, allocations: 1.37 MB / 5.279 GB, free: 188.9 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/14.8, allocations: 446.2 kB / 5.279 GB, free: 188.8 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/14.8, allocations: 0.7518 MB / 5.28 GB, free: 188.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000866/14.8, allocations: 488.3 kB / 5.281 GB, free: 188 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001299/14.81, allocations: 126.8 kB / 5.281 GB, free: 188 MB / 1.198 GB Notification: Performance of pre-optimization done (n=86): time 3.987e-06/14.81, allocations: 0 / 5.281 GB, free: 188 MB / 1.198 GB Notification: Performance of matching and sorting (n=86): time 0.002359/14.81, allocations: 0.9405 MB / 5.282 GB, free: 187.9 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/14.81, allocations: 117.1 kB / 5.282 GB, free: 187.7 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/14.81, allocations: 1.324 MB / 5.283 GB, free: 187.6 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/14.81, allocations: 47.39 kB / 5.283 GB, free: 187.5 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008762/14.81, allocations: 0.916 MB / 5.284 GB, free: 187.3 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/14.81, allocations: 305.8 kB / 5.284 GB, free: 187.1 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/14.81, allocations: 22.81 kB / 5.284 GB, free: 187.1 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001331/14.81, allocations: 347 kB / 5.285 GB, free: 186.8 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007041/14.81, allocations: 340.2 kB / 5.285 GB, free: 186.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/14.81, allocations: 0.6934 MB / 5.286 GB, free: 186.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/14.81, allocations: 461.8 kB / 5.286 GB, free: 186.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/14.81, allocations: 6.156 kB / 5.286 GB, free: 186.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002079/14.82, allocations: 1.22 MB / 5.287 GB, free: 186.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007924/14.82, allocations: 3.395 MB / 5.291 GB, free: 182.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/14.82, allocations: 7.375 kB / 5.291 GB, free: 182.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/14.82, allocations: 15.12 kB / 5.291 GB, free: 182.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/14.82, allocations: 275 kB / 5.291 GB, free: 182.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/14.82, allocations: 16.56 kB / 5.291 GB, free: 182.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/14.82, allocations: 165.2 kB / 5.291 GB, free: 182.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/14.82, allocations: 56.27 kB / 5.291 GB, free: 182.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/14.82, allocations: 3.406 kB / 5.291 GB, free: 182.7 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001587/14.82, allocations: 1.035 MB / 5.292 GB, free: 182.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/14.82, allocations: 11.03 kB / 5.292 GB, free: 182.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/14.82, allocations: 15.69 kB / 5.292 GB, free: 182.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/14.82, allocations: 272.2 kB / 5.292 GB, free: 182.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/14.82, allocations: 18 kB / 5.292 GB, free: 182.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/14.83, allocations: 163.4 kB / 5.293 GB, free: 182.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/14.83, allocations: 66.86 kB / 5.293 GB, free: 182.6 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.0003104/14.83, allocations: 173.4 kB / 5.293 GB, free: 182.5 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/14.83, allocations: 177.8 kB / 5.293 GB, free: 182.4 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/14.83, allocations: 1.015 MB / 5.294 GB, free: 182.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/14.83, allocations: 15.67 kB / 5.294 GB, free: 182.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/14.83, allocations: 0 / 5.294 GB, free: 182.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001314/14.83, allocations: 1.075 MB / 5.295 GB, free: 181.9 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.005537/14.84, allocations: 2.791 MB / 5.298 GB, free: 181.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/14.84, allocations: 3.953 kB / 5.298 GB, free: 181.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009426/14.84, allocations: 188.4 kB / 5.298 GB, free: 181.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/14.84, allocations: 48.38 kB / 5.298 GB, free: 181.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/14.84, allocations: 27.78 kB / 5.298 GB, free: 181.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/14.84, allocations: 1.421 MB / 5.299 GB, free: 180 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/14.84, allocations: 6.719 kB / 5.299 GB, free: 180 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/14.84, allocations: 1.587 MB / 5.301 GB, free: 179.6 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/14.84, allocations: 339.3 kB / 5.301 GB, free: 179.5 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/14.84, allocations: 18.69 kB / 5.301 GB, free: 179.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/14.84, allocations: 144.8 kB / 5.302 GB, free: 179.4 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/14.84, allocations: 59.97 kB / 5.302 GB, free: 179.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/14.84, allocations: 36.02 kB / 5.302 GB, free: 179.4 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001947/14.85, allocations: 1.009 MB / 5.303 GB, free: 179.3 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.41e-07/14.85, allocations: 0 / 5.303 GB, free: 179.3 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.005453/14.85, allocations: 1.272 MB / 5.304 GB, free: 179.3 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.006915/14.86, allocations: 3.569 MB / 5.307 GB, free: 178 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003397/14.86, allocations: 1.583 MB / 5.309 GB, free: 177.8 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/14.86, allocations: 1.844 kB / 5.309 GB, free: 177.8 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/14.86, allocations: 0.5338 MB / 5.309 GB, free: 177.7 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004638/14.87, allocations: 0.7627 MB / 5.31 GB, free: 177.7 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006942/14.87, allocations: 2.869 MB / 5.313 GB, free: 176.9 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/14.88, allocations: 1.528 MB / 5.314 GB, free: 176.2 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.00363/14.88, allocations: 0.6783 MB / 5.315 GB, free: 176.2 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/14.88, allocations: 107.8 kB / 5.315 GB, free: 176.2 MB / 1.198 GB Notification: Performance of SimCode: time 1.162e-06/14.88, allocations: 0 / 5.315 GB, free: 176.2 MB / 1.198 GB Notification: Performance of Templates: time 0.1025/14.98, allocations: 72.06 MB / 5.386 GB, free: 174.3 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