Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.3 MB / 405.3 MB, free: 13.31 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.001092/0.001093, allocations: 192.4 kB / 498.1 MB, free: 5.543 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.689/1.689, allocations: 223.2 MB / 0.7949 GB, free: 17.91 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.0009755/0.0009756, allocations: 102.8 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.000397, allocations: 10.31 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3549, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.861/6.216, allocations: 2.183 GB / 3.406 GB, free: 247.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004275/6.217, allocations: 106.4 kB / 3.406 GB, free: 247.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.685/9.902, allocations: 1.131 GB / 4.537 GB, free: 2.914 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.044e-06/9.902, allocations: 0 / 4.537 GB, free: 2.914 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001746/9.902, allocations: 55.97 kB / 4.537 GB, free: 2.859 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.005558/9.907, allocations: 2.421 MB / 4.539 GB, free: 408 kB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/9.908, allocations: 8.031 kB / 4.539 GB, free: 400 kB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/9.909, allocations: 377.1 kB / 4.54 GB, free: 20 kB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/9.913, allocations: 1.667 MB / 4.541 GB, free: 14.3 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.718e-05/9.913, allocations: 110.5 kB / 4.541 GB, free: 14.2 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/9.913, allocations: 140 kB / 4.541 GB, free: 14.06 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/9.916, allocations: 1.472 MB / 4.543 GB, free: 12.52 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/9.916, allocations: 3.938 kB / 4.543 GB, free: 12.52 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/9.916, allocations: 56 kB / 4.543 GB, free: 12.46 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.756e-05/9.916, allocations: 54.64 kB / 4.543 GB, free: 12.41 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/9.918, allocations: 1.123 MB / 4.544 GB, free: 11.28 MB / 1.182 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.009506/9.928, allocations: 7.152 MB / 4.551 GB, free: 3.578 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/9.929, allocations: 0.8776 MB / 4.552 GB, free: 2.668 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008829/9.93, allocations: 0.7162 MB / 4.553 GB, free: 1.805 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/9.93, allocations: 47.2 kB / 4.553 GB, free: 1.75 MB / 1.182 GB Notification: Performance of pre-optimization done (n=75): time 3.426e-06/9.93, allocations: 0 / 4.553 GB, free: 1.75 MB / 1.182 GB Notification: Performance of matching and sorting (n=75): time 0.8304/10.76, allocations: 2.205 MB / 4.555 GB, free: 184.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/10.76, allocations: 59.31 kB / 4.555 GB, free: 184.8 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/10.76, allocations: 1.144 MB / 4.556 GB, free: 184.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002202/10.76, allocations: 45.95 kB / 4.556 GB, free: 184.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008125/10.76, allocations: 0.8062 MB / 4.557 GB, free: 184.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/10.76, allocations: 259.7 kB / 4.557 GB, free: 184.4 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/10.76, allocations: 21.22 kB / 4.557 GB, free: 184.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001186/10.76, allocations: 338.1 kB / 4.557 GB, free: 184.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/10.77, allocations: 314.1 kB / 4.558 GB, free: 184.1 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/10.77, allocations: 0.5897 MB / 4.558 GB, free: 183.8 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/10.77, allocations: 404.3 kB / 4.559 GB, free: 183.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/10.77, allocations: 5.656 kB / 4.559 GB, free: 183.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002853/10.77, allocations: 1.197 MB / 4.56 GB, free: 183.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004859/10.77, allocations: 1.801 MB / 4.562 GB, free: 181.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/10.77, allocations: 6.188 kB / 4.562 GB, free: 181.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/10.77, allocations: 386.8 kB / 4.562 GB, free: 181.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/10.77, allocations: 145 kB / 4.562 GB, free: 181.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/10.77, allocations: 2.083 MB / 4.564 GB, free: 180.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/10.78, allocations: 179.5 kB / 4.564 GB, free: 180.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/10.78, allocations: 40.47 kB / 4.564 GB, free: 180.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/10.78, allocations: 7.375 kB / 4.564 GB, free: 180.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002317/10.78, allocations: 1.02 MB / 4.565 GB, free: 180.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/10.78, allocations: 5.281 kB / 4.565 GB, free: 180.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/10.78, allocations: 391.4 kB / 4.566 GB, free: 180.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/10.78, allocations: 141.9 kB / 4.566 GB, free: 180.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/10.78, allocations: 3.888 MB / 4.57 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/10.79, allocations: 171.4 kB / 4.57 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/10.79, allocations: 37.55 kB / 4.57 GB, free: 176.9 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001226/10.79, allocations: 471.4 kB / 4.57 GB, free: 176.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005761/10.79, allocations: 162 kB / 4.57 GB, free: 176.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/10.79, allocations: 1.162 MB / 4.572 GB, free: 176.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/10.79, allocations: 8.703 kB / 4.572 GB, free: 176.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/10.79, allocations: 3.953 kB / 4.572 GB, free: 176.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001875/10.79, allocations: 1.254 MB / 4.573 GB, free: 176 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/10.8, allocations: 2.749 MB / 4.575 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/10.8, allocations: 2.094 kB / 4.575 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/10.8, allocations: 111.1 kB / 4.576 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/10.8, allocations: 386.5 kB / 4.576 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/10.8, allocations: 17.7 kB / 4.576 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/10.8, allocations: 2.075 MB / 4.578 GB, free: 174 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/10.8, allocations: 4.094 kB / 4.578 GB, free: 174 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/10.81, allocations: 1.385 MB / 4.579 GB, free: 173.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/10.81, allocations: 348.3 kB / 4.58 GB, free: 173.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005572/10.81, allocations: 21.83 kB / 4.58 GB, free: 173.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/10.81, allocations: 126.5 kB / 4.58 GB, free: 173.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/10.81, allocations: 46.94 kB / 4.58 GB, free: 173.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/10.81, allocations: 32.42 kB / 4.58 GB, free: 173.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002554/10.81, allocations: 0.8904 MB / 4.581 GB, free: 173.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.61e-07/10.81, allocations: 3.094 kB / 4.581 GB, free: 173.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006596/10.82, allocations: 1.096 MB / 4.582 GB, free: 173.1 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004974/10.83, allocations: 2.312 MB / 4.584 GB, free: 172.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.00419/10.83, allocations: 1.618 MB / 4.586 GB, free: 172.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/10.83, allocations: 8.688 kB / 4.586 GB, free: 172.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/10.83, allocations: 491.8 kB / 4.586 GB, free: 172.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005006/10.84, allocations: 0.8066 MB / 4.587 GB, free: 172.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006264/10.84, allocations: 3.285 MB / 4.59 GB, free: 170.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/10.84, allocations: 1.377 MB / 4.592 GB, free: 169.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00211/10.85, allocations: 321.2 kB / 4.592 GB, free: 169.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/10.85, allocations: 99.53 kB / 4.592 GB, free: 169.8 MB / 1.182 GB Notification: Performance of SimCode: time 1.472e-06/10.85, allocations: 2.156 kB / 4.592 GB, free: 169.8 MB / 1.182 GB Notification: Performance of Templates: time 0.08258/10.93, allocations: 54.38 MB / 4.645 GB, free: 169.1 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches