Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001383/0.001383, allocations: 180.8 kB / 487.4 MB, free: 5.051 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.578/1.578, allocations: 221.5 MB / 0.7824 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 91.86 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.011e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3083, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.334/5.642, allocations: 2.174 GB / 3.38 GB, free: 151.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/5.643, allocations: 95.94 kB / 3.38 GB, free: 151 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.516/9.158, allocations: 1.01 GB / 4.391 GB, free: 7.746 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.413e-06/9.158, allocations: 0 / 4.391 GB, free: 7.746 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002607/9.159, allocations: 47.98 kB / 4.391 GB, free: 7.699 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006095/9.165, allocations: 1.877 MB / 4.392 GB, free: 5.77 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/9.165, allocations: 15.95 kB / 4.392 GB, free: 5.754 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002344/9.167, allocations: 341.5 kB / 4.393 GB, free: 5.418 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004286/9.172, allocations: 1.589 MB / 4.394 GB, free: 3.773 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/9.172, allocations: 36 kB / 4.394 GB, free: 3.738 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003381/9.172, allocations: 68 kB / 4.394 GB, free: 3.672 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001821/9.174, allocations: 0.7891 MB / 4.395 GB, free: 2.879 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/9.176, allocations: 0.9782 MB / 4.396 GB, free: 1.855 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/9.176, allocations: 0 / 4.396 GB, free: 1.855 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/9.176, allocations: 4 kB / 4.396 GB, free: 1.852 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/9.176, allocations: 38.14 kB / 4.396 GB, free: 1.812 MB / 1.151 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.008274/9.184, allocations: 5.298 MB / 4.401 GB, free: 12.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/9.186, allocations: 0.8171 MB / 4.402 GB, free: 11.24 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/9.186, allocations: 360.7 kB / 4.403 GB, free: 10.89 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/9.187, allocations: 0.6018 MB / 4.403 GB, free: 10.16 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/9.187, allocations: 43.12 kB / 4.403 GB, free: 10.11 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.607e-06/9.187, allocations: 0 / 4.403 GB, free: 10.11 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002634/9.19, allocations: 0.8152 MB / 4.404 GB, free: 9.273 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/9.19, allocations: 59.97 kB / 4.404 GB, free: 9.203 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/9.192, allocations: 0.8779 MB / 4.405 GB, free: 8.32 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/9.192, allocations: 25.7 kB / 4.405 GB, free: 8.289 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007553/9.193, allocations: 0.7001 MB / 4.406 GB, free: 7.582 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/9.193, allocations: 244.3 kB / 4.406 GB, free: 7.34 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/9.193, allocations: 0 / 4.406 GB, free: 7.34 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001837/9.193, allocations: 333.9 kB / 4.406 GB, free: 7.008 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/9.194, allocations: 233.5 kB / 4.406 GB, free: 6.781 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007014/9.194, allocations: 460.6 kB / 4.407 GB, free: 6.238 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/9.195, allocations: 330.4 kB / 4.407 GB, free: 5.918 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/9.195, allocations: 0 / 4.407 GB, free: 5.918 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002086/9.197, allocations: 0.88 MB / 4.408 GB, free: 5.023 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006039/9.198, allocations: 1.079 MB / 4.409 GB, free: 3.879 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/9.198, allocations: 0 / 4.409 GB, free: 3.879 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/9.198, allocations: 77.69 kB / 4.409 GB, free: 3.797 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/9.199, allocations: 167.8 kB / 4.409 GB, free: 3.633 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/9.2, allocations: 1.773 MB / 4.411 GB, free: 1.785 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/9.202, allocations: 131.4 kB / 4.411 GB, free: 1.656 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/9.202, allocations: 43.97 kB / 4.411 GB, free: 1.613 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/9.202, allocations: 4 kB / 4.411 GB, free: 1.609 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001372/9.204, allocations: 0.6718 MB / 4.412 GB, free: 0.9297 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/9.204, allocations: 4 kB / 4.412 GB, free: 0.9258 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/9.204, allocations: 89.84 kB / 4.412 GB, free: 0.832 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/9.205, allocations: 151.7 kB / 4.412 GB, free: 0.6836 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8798/10.08, allocations: 2.949 MB / 4.415 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/10.09, allocations: 139.8 kB / 4.415 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/10.09, allocations: 27.56 kB / 4.415 GB, free: 208.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003088/10.09, allocations: 123.6 kB / 4.415 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003604/10.09, allocations: 139.9 kB / 4.415 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/10.09, allocations: 0.8343 MB / 4.416 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/10.09, allocations: 16.72 kB / 4.416 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/10.09, allocations: 0 / 4.416 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001388/10.09, allocations: 0.9668 MB / 4.417 GB, free: 208 MB / 1.167 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.004745/10.1, allocations: 2.197 MB / 4.419 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/10.1, allocations: 2.344 kB / 4.419 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007833/10.1, allocations: 156.8 kB / 4.419 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/10.1, allocations: 67.28 kB / 4.419 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/10.1, allocations: 10.75 kB / 4.419 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007738/10.1, allocations: 1.738 MB / 4.421 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/10.1, allocations: 3.688 kB / 4.421 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/10.1, allocations: 1.421 MB / 4.423 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007777/10.1, allocations: 321.3 kB / 4.423 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/10.1, allocations: 0.75 kB / 4.423 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/10.1, allocations: 111.9 kB / 4.423 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/10.1, allocations: 53.34 kB / 4.423 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/10.1, allocations: 27.28 kB / 4.423 GB, free: 205.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001215/10.1, allocations: 0.6691 MB / 4.424 GB, free: 205.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/10.1, allocations: 0 / 4.424 GB, free: 205.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003501/10.11, allocations: 0.9249 MB / 4.425 GB, free: 205.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004011/10.11, allocations: 2.228 MB / 4.427 GB, free: 204.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00282/10.11, allocations: 1.273 MB / 4.428 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/10.11, allocations: 0 / 4.428 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/10.11, allocations: 363.8 kB / 4.428 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004436/10.12, allocations: 0.7436 MB / 4.429 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/10.12, allocations: 2.055 MB / 4.431 GB, free: 203.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/10.12, allocations: 1.318 MB / 4.432 GB, free: 203.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002376/10.13, allocations: 430.7 kB / 4.433 GB, free: 203 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/10.13, allocations: 78.81 kB / 4.433 GB, free: 203 MB / 1.167 GB Notification: Performance of SimCode: time 6.72e-07/10.13, allocations: 2.844 kB / 4.433 GB, free: 203 MB / 1.167 GB Notification: Performance of Templates: time 0.07151/10.2, allocations: 37.04 MB / 4.469 GB, free: 202.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches