Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.247/2.247, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001341/0.001341, allocations: 183.9 kB / 0.4902 GB, free: 2.242 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.476/1.476, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009997/0.0009997, allocations: 111.2 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004085, allocations: 14.97 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3147, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.387/5.701, allocations: 2.184 GB / 3.413 GB, free: 212.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/5.702, allocations: 100.8 kB / 3.413 GB, free: 212.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.838/10.54, allocations: 1.131 GB / 4.544 GB, free: 185.2 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.433e-06/10.54, allocations: 0 / 4.544 GB, free: 185.2 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003791/10.54, allocations: 53.92 kB / 4.544 GB, free: 185.2 MB / 1.182 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.009398/10.55, allocations: 2.423 MB / 4.546 GB, free: 184.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/10.55, allocations: 12.05 kB / 4.546 GB, free: 184.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/10.55, allocations: 375.1 kB / 4.547 GB, free: 184.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005727/10.56, allocations: 1.663 MB / 4.548 GB, free: 184.2 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/10.56, allocations: 106.5 kB / 4.548 GB, free: 184.2 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00056/10.56, allocations: 138.8 kB / 4.548 GB, free: 184.2 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004312/10.56, allocations: 1.471 MB / 4.55 GB, free: 184 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/10.56, allocations: 9.281 kB / 4.55 GB, free: 184 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/10.56, allocations: 58.78 kB / 4.55 GB, free: 184 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-05/10.56, allocations: 53.31 kB / 4.55 GB, free: 184 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/10.57, allocations: 1.127 MB / 4.551 GB, free: 184 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.009729/10.58, allocations: 7.157 MB / 4.558 GB, free: 180.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/10.58, allocations: 0.8802 MB / 4.559 GB, free: 180.1 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007475/10.58, allocations: 0.7174 MB / 4.56 GB, free: 179.3 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/10.58, allocations: 41.22 kB / 4.56 GB, free: 179.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=75): time 4.588e-06/10.58, allocations: 0 / 4.56 GB, free: 179.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=75): time 0.006623/10.58, allocations: 2.217 MB / 4.562 GB, free: 178.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/10.58, allocations: 65.83 kB / 4.562 GB, free: 178.8 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/10.59, allocations: 1.14 MB / 4.563 GB, free: 178.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/10.59, allocations: 43.98 kB / 4.563 GB, free: 178.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/10.59, allocations: 0.8025 MB / 4.564 GB, free: 178.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/10.59, allocations: 263.2 kB / 4.564 GB, free: 178.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/10.59, allocations: 15.78 kB / 4.564 GB, free: 178.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/10.59, allocations: 343.8 kB / 4.564 GB, free: 178 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/10.59, allocations: 317 kB / 4.565 GB, free: 178 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/10.59, allocations: 0.5893 MB / 4.565 GB, free: 177.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/10.59, allocations: 406.6 kB / 4.566 GB, free: 177.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/10.59, allocations: 0 / 4.566 GB, free: 177.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002006/10.59, allocations: 1.199 MB / 4.567 GB, free: 177.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003642/10.59, allocations: 1.794 MB / 4.569 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/10.59, allocations: 3.906 kB / 4.569 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/10.59, allocations: 398.5 kB / 4.569 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/10.59, allocations: 144 kB / 4.569 GB, free: 175.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/10.6, allocations: 2.083 MB / 4.571 GB, free: 174 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/10.6, allocations: 172.8 kB / 4.571 GB, free: 174 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.97e-05/10.6, allocations: 44.73 kB / 4.571 GB, free: 174 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/10.6, allocations: 3.906 kB / 4.571 GB, free: 174 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001673/10.6, allocations: 1.025 MB / 4.572 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/10.6, allocations: 3.906 kB / 4.572 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/10.6, allocations: 379.7 kB / 4.573 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/10.6, allocations: 148.5 kB / 4.573 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/10.6, allocations: 3.884 MB / 4.577 GB, free: 170.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/10.61, allocations: 179.4 kB / 4.577 GB, free: 170.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/10.61, allocations: 37.69 kB / 4.577 GB, free: 170.7 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.001003/10.61, allocations: 468.8 kB / 4.577 GB, free: 170.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/10.61, allocations: 165.7 kB / 4.578 GB, free: 170.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/10.61, allocations: 1.165 MB / 4.579 GB, free: 170.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/10.61, allocations: 11.67 kB / 4.579 GB, free: 170.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/10.61, allocations: 0 / 4.579 GB, free: 170.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/10.61, allocations: 1.256 MB / 4.58 GB, free: 169.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004541/10.61, allocations: 2.747 MB / 4.583 GB, free: 169.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/10.61, allocations: 3.75 kB / 4.583 GB, free: 169.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/10.62, allocations: 109.1 kB / 4.583 GB, free: 169.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/10.62, allocations: 379.7 kB / 4.583 GB, free: 169.4 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/10.62, allocations: 21.19 kB / 4.583 GB, free: 169.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/10.62, allocations: 2.078 MB / 4.585 GB, free: 167.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/10.62, allocations: 6.562 kB / 4.585 GB, free: 167.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/10.62, allocations: 1.386 MB / 4.587 GB, free: 167.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008894/10.62, allocations: 354 kB / 4.587 GB, free: 167.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/10.62, allocations: 11.06 kB / 4.587 GB, free: 167.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/10.62, allocations: 124.1 kB / 4.587 GB, free: 167.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/10.62, allocations: 51.11 kB / 4.587 GB, free: 167.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/10.62, allocations: 34.45 kB / 4.587 GB, free: 167.1 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001198/10.62, allocations: 0.8905 MB / 4.588 GB, free: 167 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.7e-07/10.62, allocations: 0 / 4.588 GB, free: 167 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003603/10.63, allocations: 1.103 MB / 4.589 GB, free: 167 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.00354/10.63, allocations: 2.321 MB / 4.591 GB, free: 166.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003179/10.63, allocations: 1.619 MB / 4.593 GB, free: 166 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/10.63, allocations: 3.844 kB / 4.593 GB, free: 166 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/10.64, allocations: 493.9 kB / 4.593 GB, free: 165.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/10.64, allocations: 0.8006 MB / 4.594 GB, free: 165.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/10.64, allocations: 3.272 MB / 4.597 GB, free: 164.3 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008899/10.65, allocations: 1.377 MB / 4.599 GB, free: 163.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001635/10.65, allocations: 331 kB / 4.599 GB, free: 163.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/10.65, allocations: 100.5 kB / 4.599 GB, free: 163.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.152e-06/10.65, allocations: 0 / 4.599 GB, free: 163.6 MB / 1.182 GB Notification: Performance of Templates: time 0.08155/10.73, allocations: 54.38 MB / 4.652 GB, free: 162.4 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches