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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 11.98 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.6602, allocations: 142.4 MB / 0.9544 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2208/0.881, allocations: 215.1 MB / 1.165 GB, free: 7.781 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02117/0.9023, allocations: 14.74 MB / 1.179 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.9052, allocations: 75.5 kB / 1.179 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.9082, allocations: 0.8627 MB / 1.18 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008329/0.9165, allocations: 2.525 MB / 1.182 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005346/0.9219, allocations: 1.853 MB / 1.184 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007415/0.9293, allocations: 5.577 MB / 1.19 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003108/0.9324, allocations: 1.378 MB / 1.191 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006526/0.939, allocations: 2.128 MB / 1.193 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0038/0.9428, allocations: 1.486 MB / 1.194 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000788/0.9436, allocations: 80 kB / 1.195 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006559/0.9502, allocations: 2.109 MB / 1.197 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.9518, allocations: 0.6267 MB / 1.197 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.9532, allocations: 464.5 kB / 1.198 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005499/0.9588, allocations: 2.997 MB / 1.201 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.9588, allocations: 0 / 1.201 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9588, allocations: 3.938 kB / 1.201 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001239/0.9589, allocations: 0 / 1.201 GB, free: 2.785 MB / 0.9512 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.005807/0.9647, allocations: 2.457 MB / 1.203 GB, free: 268 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.9648, allocations: 12.03 kB / 1.203 GB, free: 256 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/0.9705, allocations: 0.8986 MB / 1.204 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004361/0.9749, allocations: 1.623 MB / 1.205 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/0.9753, allocations: 170.5 kB / 1.206 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004604/0.9758, allocations: 147.9 kB / 1.206 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004346/0.9801, allocations: 1.715 MB / 1.207 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.9802, allocations: 0 / 1.207 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.9804, allocations: 59.95 kB / 1.207 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/0.9805, allocations: 50.45 kB / 1.208 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003862/0.9843, allocations: 1.567 MB / 1.209 GB, free: 9.895 MB / 0.9669 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.0119/0.9962, allocations: 7.698 MB / 1.217 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/0.9994, allocations: 1.73 MB / 1.218 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/1.001, allocations: 0.5666 MB / 1.219 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/1.002, allocations: 0.8141 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/1.003, allocations: 0.6223 MB / 1.22 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009903/1.004, allocations: 131.1 kB / 1.22 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 5.891e-06/1.004, allocations: 0 / 1.22 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.004647/1.009, allocations: 1.75 MB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/1.009, allocations: 64.39 kB / 1.222 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/1.012, allocations: 1.595 MB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/1.012, allocations: 49.7 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009647/1.013, allocations: 0.9125 MB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/1.014, allocations: 303.6 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/1.014, allocations: 24 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.014, allocations: 353.9 kB / 1.225 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/1.015, allocations: 486.3 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/1.017, allocations: 0.8148 MB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/1.018, allocations: 0.5824 MB / 1.227 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.018, allocations: 4 kB / 1.227 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003429/1.021, allocations: 1.512 MB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002714/1.022, allocations: 358.2 kB / 1.229 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/1.022, allocations: 8 kB / 1.229 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/1.022, allocations: 23.94 kB / 1.229 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.023, allocations: 295.6 kB / 1.229 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.05e-05/1.023, allocations: 16 kB / 1.229 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.025, allocations: 196.4 kB / 1.229 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.025, allocations: 47.98 kB / 1.229 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.025, allocations: 7.938 kB / 1.229 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002823/1.028, allocations: 1.321 MB / 1.231 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/1.028, allocations: 12 kB / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.028, allocations: 19.95 kB / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/1.029, allocations: 295.8 kB / 1.231 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/1.029, allocations: 15.94 kB / 1.231 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/1.031, allocations: 196.3 kB / 1.231 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.031, allocations: 47.98 kB / 1.231 GB, free: 1.836 MB / 0.9825 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 130 * 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.001016/1.032, allocations: 0.5388 MB / 1.232 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/1.033, allocations: 181.7 kB / 1.232 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/1.036, allocations: 1.29 MB / 1.233 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.036, allocations: 8 kB / 1.233 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.036, allocations: 0 / 1.233 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002459/1.038, allocations: 1.348 MB / 1.235 GB, free: 14.36 MB / 0.9981 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.006482/1.045, allocations: 3.12 MB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.045, allocations: 4 kB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/1.046, allocations: 219.9 kB / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/1.046, allocations: 40.83 kB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/1.046, allocations: 27.98 kB / 1.238 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/1.048, allocations: 1.433 MB / 1.239 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.048, allocations: 0 / 1.239 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/1.051, allocations: 1.93 MB / 1.241 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007778/1.052, allocations: 350.7 kB / 1.242 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/1.053, allocations: 27.92 kB / 1.242 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/1.054, allocations: 151.8 kB / 1.242 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.054, allocations: 68.52 kB / 1.242 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-05/1.054, allocations: 39.97 kB / 1.242 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001818/1.056, allocations: 1.073 MB / 1.243 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/1.056, allocations: 0 / 1.243 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003166/1.059, allocations: 0.9781 MB / 1.244 GB, free: 4.574 MB / 0.9981 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.001559/1.061, allocations: 0.5974 MB / 1.244 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004193/1.065, allocations: 1.946 MB / 1.246 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.065, allocations: 3.938 kB / 1.246 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.067, allocations: 0.6709 MB / 1.247 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/1.071, allocations: 0.7993 MB / 1.248 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5485/1.619, allocations: 4.468 MB / 1.252 GB, free: 279 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/1.621, allocations: 1.491 MB / 1.254 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002836/1.624, allocations: 451.5 kB / 1.254 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/1.624, allocations: 143.6 kB / 1.254 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.853e-06/1.624, allocations: 0 / 1.254 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.05808/1.682, allocations: 30.71 MB / 1.284 GB, free: 265.3 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches