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.494/1.494, allocations: 249.3 MB / 261.8 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008777/0.0008776, allocations: 95.97 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.6e-05, allocations: 8 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2169, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.01/6.227, allocations: 2.246 GB / 3.138 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/6.227, allocations: 98.81 kB / 3.138 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.333/14.56, allocations: 2.004 GB / 5.143 GB, free: 105 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.713e-06/14.56, allocations: 0 / 5.143 GB, free: 105 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002707/14.56, allocations: 56.55 kB / 5.143 GB, free: 105 MB / 0.9167 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.007709/14.57, allocations: 2.449 MB / 5.145 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/14.57, allocations: 10.75 kB / 5.145 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005374/14.57, allocations: 0.7671 MB / 5.146 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006282/14.58, allocations: 2.214 MB / 5.148 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/14.58, allocations: 108.8 kB / 5.148 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/14.58, allocations: 150.1 kB / 5.148 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/14.58, allocations: 1.524 MB / 5.15 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/14.58, allocations: 2.812 kB / 5.15 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/14.58, allocations: 59.31 kB / 5.15 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/14.58, allocations: 47.69 kB / 5.15 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/14.59, allocations: 1.133 MB / 5.151 GB, free: 103 MB / 0.9167 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.01079/14.6, allocations: 7.408 MB / 5.158 GB, free: 99.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/14.6, allocations: 1.352 MB / 5.159 GB, free: 98.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/14.6, allocations: 417.7 kB / 5.16 GB, free: 98.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/14.6, allocations: 0.7507 MB / 5.161 GB, free: 97.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007627/14.6, allocations: 470.8 kB / 5.161 GB, free: 97.58 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001201/14.6, allocations: 134.1 kB / 5.161 GB, free: 97.55 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=84): time 4.128e-06/14.6, allocations: 0 / 5.161 GB, free: 97.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84): time 0.001941/14.6, allocations: 0.9117 MB / 5.162 GB, free: 97.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/14.6, allocations: 165.4 kB / 5.162 GB, free: 97.21 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/14.61, allocations: 1.357 MB / 5.163 GB, free: 96.97 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/14.61, allocations: 48.73 kB / 5.164 GB, free: 96.94 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/14.61, allocations: 0.933 MB / 5.164 GB, free: 96.63 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/14.61, allocations: 298.9 kB / 5.165 GB, free: 96.44 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/14.61, allocations: 20.69 kB / 5.165 GB, free: 96.44 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001106/14.61, allocations: 351.6 kB / 5.165 GB, free: 96.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/14.61, allocations: 340.8 kB / 5.165 GB, free: 96.13 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000862/14.61, allocations: 0.734 MB / 5.166 GB, free: 95.67 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/14.61, allocations: 478.7 kB / 5.167 GB, free: 95.63 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/14.61, allocations: 0 / 5.167 GB, free: 95.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002081/14.61, allocations: 1.243 MB / 5.168 GB, free: 95.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009566/14.61, allocations: 3.483 MB / 5.171 GB, free: 91.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/14.61, allocations: 12.95 kB / 5.171 GB, free: 91.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.732e-05/14.61, allocations: 13.22 kB / 5.171 GB, free: 91.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/14.61, allocations: 263 kB / 5.171 GB, free: 91.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/14.61, allocations: 14.09 kB / 5.171 GB, free: 91.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/14.62, allocations: 150.6 kB / 5.172 GB, free: 91.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/14.62, allocations: 55.52 kB / 5.172 GB, free: 91.78 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/14.62, allocations: 11.75 kB / 5.172 GB, free: 91.77 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001614/14.62, allocations: 1.053 MB / 5.173 GB, free: 91.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/14.62, allocations: 13.12 kB / 5.173 GB, free: 91.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/14.62, allocations: 17.64 kB / 5.173 GB, free: 91.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009466/14.62, allocations: 259.6 kB / 5.173 GB, free: 91.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/14.62, allocations: 22.08 kB / 5.173 GB, free: 91.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/14.62, allocations: 149 kB / 5.173 GB, free: 91.63 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/14.62, allocations: 53.22 kB / 5.173 GB, free: 91.63 MB / 0.9167 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 () * 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.0003298/14.62, allocations: 170.8 kB / 5.173 GB, free: 91.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/14.62, allocations: 179.1 kB / 5.174 GB, free: 91.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/14.62, allocations: 0.9946 MB / 5.174 GB, free: 91.31 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/14.62, allocations: 7.125 kB / 5.175 GB, free: 91.31 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/14.62, allocations: 3.969 kB / 5.175 GB, free: 91.31 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/14.62, allocations: 1.054 MB / 5.176 GB, free: 90.84 MB / 0.9167 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.005044/14.63, allocations: 2.669 MB / 5.178 GB, free: 90.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/14.63, allocations: 3.656 kB / 5.178 GB, free: 90.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/14.63, allocations: 173.5 kB / 5.178 GB, free: 90.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/14.63, allocations: 46.16 kB / 5.178 GB, free: 90.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/14.63, allocations: 23.77 kB / 5.178 GB, free: 90.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/14.63, allocations: 1.416 MB / 5.18 GB, free: 88.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/14.63, allocations: 7.781 kB / 5.18 GB, free: 88.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/14.63, allocations: 1.555 MB / 5.181 GB, free: 88.57 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008623/14.63, allocations: 342.3 kB / 5.182 GB, free: 88.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/14.63, allocations: 21.17 kB / 5.182 GB, free: 88.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/14.64, allocations: 141 kB / 5.182 GB, free: 88.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/14.64, allocations: 63.52 kB / 5.182 GB, free: 88.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/14.64, allocations: 35 kB / 5.182 GB, free: 88.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001581/14.64, allocations: 1.028 MB / 5.183 GB, free: 88.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.51e-07/14.64, allocations: 0 / 5.183 GB, free: 88.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004561/14.64, allocations: 1.322 MB / 5.184 GB, free: 88.04 MB / 0.9167 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) * 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.006035/14.65, allocations: 3.602 MB / 5.188 GB, free: 86.54 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002926/14.65, allocations: 1.642 MB / 5.189 GB, free: 86.26 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/14.65, allocations: 0 / 5.189 GB, free: 86.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008588/14.65, allocations: 0.5095 MB / 5.19 GB, free: 86.13 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/14.66, allocations: 0.7937 MB / 5.191 GB, free: 86.08 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006414/14.66, allocations: 2.89 MB / 5.193 GB, free: 85.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009373/14.66, allocations: 1.542 MB / 5.195 GB, free: 84.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003138/14.67, allocations: 0.6555 MB / 5.196 GB, free: 84.53 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/14.67, allocations: 118.1 kB / 5.196 GB, free: 84.52 MB / 0.9167 GB Notification: Performance of SimCode: time 1.392e-06/14.67, allocations: 0 / 5.196 GB, free: 84.52 MB / 0.9167 GB Notification: Performance of Templates: time 0.1062/14.77, allocations: 73.24 MB / 5.267 GB, free: 33.07 MB / 0.9167 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