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.381/2.381, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001086/0.001085, allocations: 173 kB / 492.3 MB, free: 0.6094 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.535/1.535, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009734/0.0009734, allocations: 95.27 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.827e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3171, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.731/6.048, allocations: 2.183 GB / 3.395 GB, free: 95.32 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/6.048, allocations: 98.25 kB / 3.395 GB, free: 95.27 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.64/10.69, allocations: 1.129 GB / 4.524 GB, free: 201.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.004e-06/10.69, allocations: 3.906 kB / 4.524 GB, free: 201.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002222/10.69, allocations: 54.59 kB / 4.524 GB, free: 201.3 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.008177/10.7, allocations: 2.098 MB / 4.526 GB, free: 200.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/10.7, allocations: 10.91 kB / 4.526 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/10.7, allocations: 368.2 kB / 4.527 GB, free: 200.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/10.7, allocations: 1.658 MB / 4.528 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/10.7, allocations: 108.7 kB / 4.529 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/10.7, allocations: 140 kB / 4.529 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/10.71, allocations: 1.415 MB / 4.53 GB, free: 199.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/10.71, allocations: 3.562 kB / 4.53 GB, free: 199.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/10.71, allocations: 54.53 kB / 4.53 GB, free: 199.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.515e-05/10.71, allocations: 60.25 kB / 4.53 GB, free: 199.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/10.71, allocations: 1.028 MB / 4.531 GB, free: 199.7 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 preOpt removeSimpleEquations (simulation): time 0.01032/10.72, allocations: 7.158 MB / 4.538 GB, free: 195.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/10.72, allocations: 0.8448 MB / 4.539 GB, free: 195.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/10.72, allocations: 404.2 kB / 4.539 GB, free: 195.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009083/10.72, allocations: 0.7205 MB / 4.54 GB, free: 195 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/10.72, allocations: 42.91 kB / 4.54 GB, free: 194.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=75): time 5.13e-06/10.72, allocations: 0 / 4.54 GB, free: 194.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=75): time 0.003629/10.73, allocations: 1.119 MB / 4.541 GB, free: 194.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/10.73, allocations: 59.91 kB / 4.541 GB, free: 194.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/10.73, allocations: 1.138 MB / 4.542 GB, free: 194.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002307/10.73, allocations: 39.36 kB / 4.542 GB, free: 194.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007448/10.73, allocations: 0.8013 MB / 4.543 GB, free: 194.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/10.73, allocations: 258.3 kB / 4.543 GB, free: 194 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/10.73, allocations: 16.78 kB / 4.543 GB, free: 194 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001165/10.73, allocations: 342.9 kB / 4.544 GB, free: 193.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/10.73, allocations: 275.8 kB / 4.544 GB, free: 193.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/10.73, allocations: 0.5513 MB / 4.545 GB, free: 193.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/10.73, allocations: 365.8 kB / 4.545 GB, free: 193.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/10.73, allocations: 0 / 4.545 GB, free: 193.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003151/10.74, allocations: 1.239 MB / 4.546 GB, free: 193.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005027/10.74, allocations: 1.801 MB / 4.548 GB, free: 191.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/10.74, allocations: 3.656 kB / 4.548 GB, free: 191.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/10.74, allocations: 389.8 kB / 4.548 GB, free: 191.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/10.74, allocations: 145.4 kB / 4.548 GB, free: 191.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/10.74, allocations: 2.088 MB / 4.55 GB, free: 189.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/10.74, allocations: 181.1 kB / 4.551 GB, free: 189.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/10.74, allocations: 42.2 kB / 4.551 GB, free: 189.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/10.74, allocations: 4.781 kB / 4.551 GB, free: 189.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002243/10.74, allocations: 1.053 MB / 4.552 GB, free: 189.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/10.74, allocations: 11.17 kB / 4.552 GB, free: 189.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/10.75, allocations: 388.8 kB / 4.552 GB, free: 189.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/10.75, allocations: 149.8 kB / 4.552 GB, free: 189.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/10.75, allocations: 3.861 MB / 4.556 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/10.75, allocations: 169.6 kB / 4.556 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/10.75, allocations: 36.92 kB / 4.556 GB, free: 186.4 MB / 1.167 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 () * 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.0003078/10.75, allocations: 159.5 kB / 4.556 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006245/10.75, allocations: 153.3 kB / 4.557 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/10.76, allocations: 1.24 MB / 4.558 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/10.76, allocations: 7.438 kB / 4.558 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/10.76, allocations: 0 / 4.558 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002161/10.76, allocations: 1.301 MB / 4.559 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006201/10.76, allocations: 2.674 MB / 4.562 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/10.76, allocations: 0 / 4.562 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/10.76, allocations: 111.2 kB / 4.562 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/10.77, allocations: 382.6 kB / 4.562 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/10.77, allocations: 18.06 kB / 4.562 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/10.77, allocations: 2.074 MB / 4.564 GB, free: 183.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/10.77, allocations: 0 / 4.564 GB, free: 183.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/10.77, allocations: 1.326 MB / 4.565 GB, free: 182.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/10.77, allocations: 343 kB / 4.566 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004869/10.77, allocations: 17.16 kB / 4.566 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/10.77, allocations: 123.6 kB / 4.566 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/10.77, allocations: 51.81 kB / 4.566 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/10.77, allocations: 29.69 kB / 4.566 GB, free: 182.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001737/10.77, allocations: 0.8836 MB / 4.567 GB, free: 182.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/10.77, allocations: 2.406 kB / 4.567 GB, free: 182.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004863/10.78, allocations: 1.103 MB / 4.568 GB, free: 182.5 MB / 1.167 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 () * 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.00425/10.78, allocations: 2.315 MB / 4.57 GB, free: 181.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003353/10.79, allocations: 1.558 MB / 4.572 GB, free: 181.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/10.79, allocations: 0 / 4.572 GB, free: 181.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009905/10.79, allocations: 456.2 kB / 4.572 GB, free: 181.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004624/10.79, allocations: 0.7917 MB / 4.573 GB, free: 181.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/10.8, allocations: 1.994 MB / 4.575 GB, free: 180.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/10.8, allocations: 1.382 MB / 4.576 GB, free: 180 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002705/10.8, allocations: 450.2 kB / 4.577 GB, free: 180 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/10.8, allocations: 69.53 kB / 4.577 GB, free: 180 MB / 1.167 GB Notification: Performance of SimCode: time 1.413e-06/10.8, allocations: 0 / 4.577 GB, free: 180 MB / 1.167 GB Notification: Performance of Templates: time 0.09115/10.89, allocations: 62.41 MB / 4.638 GB, free: 163.2 MB / 1.167 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