Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.337/1.337, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 177.2 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000867/0.000867, allocations: 83.81 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003316, allocations: 9.156 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1915, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.403/4.595, allocations: 2.246 GB / 3.146 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/4.595, allocations: 103.9 kB / 3.146 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.546/11.14, allocations: 2.007 GB / 5.153 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.835e-06/11.14, allocations: 0 / 5.153 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003006/11.14, allocations: 59.77 kB / 5.153 GB, free: 129.2 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.01045/11.15, allocations: 2.968 MB / 5.156 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/11.15, allocations: 7.25 kB / 5.156 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006254/11.16, allocations: 0.7616 MB / 5.157 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00793/11.17, allocations: 2.231 MB / 5.159 GB, free: 128 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/11.17, allocations: 110.8 kB / 5.159 GB, free: 128 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/11.17, allocations: 150.5 kB / 5.159 GB, free: 128 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/11.17, allocations: 1.603 MB / 5.161 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/11.17, allocations: 6.938 kB / 5.161 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/11.17, allocations: 52.97 kB / 5.161 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.008e-05/11.17, allocations: 52.53 kB / 5.161 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/11.17, allocations: 1.274 MB / 5.162 GB, free: 127.7 MB / 0.9323 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.01023/11.18, allocations: 7.405 MB / 5.169 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/11.18, allocations: 1.499 MB / 5.171 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/11.19, allocations: 0.7513 MB / 5.171 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000948/11.19, allocations: 0.521 MB / 5.172 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001135/11.19, allocations: 128.9 kB / 5.172 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=84): time 3.777e-06/11.19, allocations: 0 / 5.172 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=84): time 0.003218/11.19, allocations: 1.488 MB / 5.174 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/11.19, allocations: 169.2 kB / 5.174 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/11.19, allocations: 1.362 MB / 5.175 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/11.19, allocations: 49.73 kB / 5.175 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007265/11.19, allocations: 0.9401 MB / 5.176 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/11.19, allocations: 298.6 kB / 5.176 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/11.19, allocations: 24.78 kB / 5.176 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.324e-05/11.19, allocations: 345.7 kB / 5.177 GB, free: 121 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007787/11.2, allocations: 403.1 kB / 5.177 GB, free: 121 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/11.2, allocations: 0.7915 MB / 5.178 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009192/11.2, allocations: 0.5255 MB / 5.178 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/11.2, allocations: 3.844 kB / 5.178 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002342/11.2, allocations: 1.361 MB / 5.18 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007332/11.2, allocations: 3.488 MB / 5.183 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/11.2, allocations: 11.56 kB / 5.183 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/11.2, allocations: 18.02 kB / 5.183 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/11.2, allocations: 258.1 kB / 5.183 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/11.2, allocations: 25.92 kB / 5.183 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/11.2, allocations: 144.6 kB / 5.183 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/11.2, allocations: 54.94 kB / 5.184 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/11.2, allocations: 4.906 kB / 5.184 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002012/11.21, allocations: 1.171 MB / 5.185 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/11.21, allocations: 13.52 kB / 5.185 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/11.21, allocations: 16.78 kB / 5.185 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/11.21, allocations: 257.1 kB / 5.185 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/11.21, allocations: 20.59 kB / 5.185 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/11.21, allocations: 144.8 kB / 5.185 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/11.21, allocations: 51.03 kB / 5.185 GB, free: 116.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001156/11.21, allocations: 0.544 MB / 5.186 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/11.21, allocations: 186.1 kB / 5.186 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/11.21, allocations: 1.109 MB / 5.187 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-06/11.21, allocations: 10.47 kB / 5.187 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/11.21, allocations: 3.781 kB / 5.187 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001797/11.21, allocations: 1.167 MB / 5.188 GB, free: 115.7 MB / 0.9323 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.004889/11.22, allocations: 2.695 MB / 5.191 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/11.22, allocations: 3.312 kB / 5.191 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008327/11.22, allocations: 179.9 kB / 5.191 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/11.22, allocations: 46.94 kB / 5.191 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/11.22, allocations: 21.42 kB / 5.191 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/11.22, allocations: 1.433 MB / 5.192 GB, free: 114 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/11.22, allocations: 4.859 kB / 5.192 GB, free: 114 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/11.22, allocations: 1.727 MB / 5.194 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008746/11.22, allocations: 339.7 kB / 5.194 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/11.22, allocations: 21.03 kB / 5.194 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/11.23, allocations: 146.5 kB / 5.195 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/11.23, allocations: 61.72 kB / 5.195 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/11.23, allocations: 33.53 kB / 5.195 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001469/11.23, allocations: 1.047 MB / 5.196 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.71e-07/11.23, allocations: 0 / 5.196 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004983/11.23, allocations: 1.32 MB / 5.197 GB, free: 113.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[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 (84): * Single equations (assignments): 81 * 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.005917/11.24, allocations: 3.642 MB / 5.2 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003502/11.24, allocations: 1.754 MB / 5.202 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/11.24, allocations: 10.72 kB / 5.202 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/11.24, allocations: 0.5732 MB / 5.203 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003935/11.25, allocations: 0.7785 MB / 5.204 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007865/11.26, allocations: 4.386 MB / 5.208 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009775/11.26, allocations: 1.538 MB / 5.209 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002352/11.26, allocations: 465 kB / 5.21 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/11.26, allocations: 135.3 kB / 5.21 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.142e-06/11.26, allocations: 0 / 5.21 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.08672/11.35, allocations: 62.53 MB / 5.271 GB, free: 106.9 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches