Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.42/2.42, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001105/0.001105, allocations: 189.8 kB / 0.4902 GB, free: 2.234 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.715/1.715, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001125/0.001126, allocations: 98.16 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005149, allocations: 10.16 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3844, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.502/4.886, allocations: 1.932 GB / 3.161 GB, free: 48.58 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/4.886, allocations: 101.7 kB / 3.162 GB, free: 48.48 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.819/8.705, allocations: 1.051 GB / 4.213 GB, free: 238.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.144e-06/8.705, allocations: 0 / 4.213 GB, free: 238.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002971/8.706, allocations: 46.84 kB / 4.213 GB, free: 238.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.007441/8.713, allocations: 2.369 MB / 4.215 GB, free: 237.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/8.713, allocations: 10.06 kB / 4.215 GB, free: 237.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004467/8.718, allocations: 0.6354 MB / 4.216 GB, free: 237.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004806/8.723, allocations: 1.436 MB / 4.217 GB, free: 237 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003846/8.723, allocations: 163.8 kB / 4.217 GB, free: 237 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004951/8.723, allocations: 121.2 kB / 4.218 GB, free: 237 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/8.727, allocations: 1.459 MB / 4.219 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/8.727, allocations: 1.031 kB / 4.219 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/8.727, allocations: 53.09 kB / 4.219 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/8.727, allocations: 45.27 kB / 4.219 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/8.73, allocations: 1.252 MB / 4.22 GB, free: 236.8 MB / 1.167 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.01035/8.741, allocations: 5.888 MB / 4.226 GB, free: 234.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/8.743, allocations: 1.17 MB / 4.227 GB, free: 234.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005615/8.743, allocations: 315.1 kB / 4.228 GB, free: 234 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/8.745, allocations: 0.6328 MB / 4.228 GB, free: 233.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=87): time 3.797e-06/8.745, allocations: 0 / 4.228 GB, free: 233.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=94): time 0.01243/8.757, allocations: 4.37 MB / 4.232 GB, free: 232.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/8.757, allocations: 192.7 kB / 4.233 GB, free: 232.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/8.759, allocations: 1.162 MB / 4.234 GB, free: 232.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/8.76, allocations: 48.02 kB / 4.234 GB, free: 232.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006234/8.76, allocations: 0.7223 MB / 4.234 GB, free: 232.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/8.76, allocations: 321.6 kB / 4.235 GB, free: 232.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/8.761, allocations: 14.41 kB / 4.235 GB, free: 232.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/8.761, allocations: 345.8 kB / 4.235 GB, free: 231.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009143/8.762, allocations: 475.4 kB / 4.236 GB, free: 231.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/8.763, allocations: 0.6888 MB / 4.236 GB, free: 231.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/8.774, allocations: 2.539 MB / 4.239 GB, free: 231.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/8.774, allocations: 2.938 kB / 4.239 GB, free: 231.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0045/8.778, allocations: 1.791 MB / 4.24 GB, free: 231.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002995/8.778, allocations: 1.296 MB / 4.242 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/8.778, allocations: 0 / 4.242 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/8.78, allocations: 436.3 kB / 4.242 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007686/8.78, allocations: 173.2 kB / 4.242 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00739/8.788, allocations: 6.995 MB / 4.249 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/8.79, allocations: 163.5 kB / 4.249 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/8.79, allocations: 40.45 kB / 4.249 GB, free: 225.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/8.79, allocations: 7.25 kB / 4.249 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004052/8.794, allocations: 1.634 MB / 4.251 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/8.794, allocations: 0 / 4.251 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/8.795, allocations: 423.3 kB / 4.251 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/8.796, allocations: 179.7 kB / 4.252 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007841/8.804, allocations: 8 MB / 4.259 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/8.806, allocations: 151.1 kB / 4.259 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/8.806, allocations: 45.17 kB / 4.26 GB, free: 219.8 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001107/8.807, allocations: 0.5114 MB / 4.26 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/8.807, allocations: 170.9 kB / 4.26 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/8.812, allocations: 1.657 MB / 4.262 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/8.812, allocations: 7.781 kB / 4.262 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/8.812, allocations: 7.25 kB / 4.262 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003351/8.815, allocations: 1.518 MB / 4.263 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007368/8.822, allocations: 3.517 MB / 4.267 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/8.822, allocations: 6.438 kB / 4.267 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000863/8.823, allocations: 188.1 kB / 4.267 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006037/8.824, allocations: 234.2 kB / 4.267 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.973e-05/8.824, allocations: 33 kB / 4.267 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003162/8.827, allocations: 2.716 MB / 4.27 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/8.827, allocations: 5.594 kB / 4.27 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004888/8.832, allocations: 2.71 MB / 4.272 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009462/8.833, allocations: 363.3 kB / 4.273 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003894/8.833, allocations: 22.81 kB / 4.273 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/8.835, allocations: 139.1 kB / 4.273 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/8.835, allocations: 68.39 kB / 4.273 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/8.835, allocations: 40.06 kB / 4.273 GB, free: 215.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00147/8.837, allocations: 0.917 MB / 4.274 GB, free: 215.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/8.837, allocations: 0 / 4.274 GB, free: 215.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004041/8.841, allocations: 1.019 MB / 4.275 GB, free: 215.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003724/8.845, allocations: 2.371 MB / 4.277 GB, free: 214.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004696/8.849, allocations: 2.92 MB / 4.28 GB, free: 213.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/8.849, allocations: 5.906 kB / 4.28 GB, free: 213.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/8.851, allocations: 0.7924 MB / 4.281 GB, free: 213.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/8.855, allocations: 0.8524 MB / 4.282 GB, free: 213.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007481/8.862, allocations: 3.936 MB / 4.286 GB, free: 212 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/8.864, allocations: 1.387 MB / 4.287 GB, free: 211.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001918/8.866, allocations: 346.6 kB / 4.287 GB, free: 211.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/8.866, allocations: 109.1 kB / 4.287 GB, free: 211.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.664e-06/8.866, allocations: 0 / 4.287 GB, free: 211.3 MB / 1.167 GB Notification: Performance of Templates: time 0.08128/8.947, allocations: 61.43 MB / 4.347 GB, free: 178.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches