Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 183.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008268/0.0008267, allocations: 93.98 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003493, allocations: 16.12 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.284/5.488, allocations: 2.459 GB / 3.359 GB, free: 51.76 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/5.488, allocations: 106.7 kB / 3.359 GB, free: 51.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.158/9.646, allocations: 1.083 GB / 4.442 GB, free: 112.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.703e-06/9.646, allocations: 2.531 kB / 4.442 GB, free: 112.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003173/9.647, allocations: 60.19 kB / 4.442 GB, free: 112.5 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.008202/9.655, allocations: 2.412 MB / 4.445 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/9.655, allocations: 8.422 kB / 4.445 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/9.657, allocations: 379.3 kB / 4.445 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004976/9.662, allocations: 1.652 MB / 4.447 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/9.663, allocations: 109.9 kB / 4.447 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/9.663, allocations: 142.1 kB / 4.447 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003799/9.667, allocations: 1.484 MB / 4.448 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/9.667, allocations: 0.875 kB / 4.448 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/9.667, allocations: 58 kB / 4.448 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/9.667, allocations: 56.58 kB / 4.449 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/9.67, allocations: 1.127 MB / 4.45 GB, free: 111.2 MB / 0.9011 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.01042/9.68, allocations: 7.162 MB / 4.457 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/9.682, allocations: 0.8625 MB / 4.457 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000735/9.683, allocations: 0.7175 MB / 4.458 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/9.683, allocations: 46.98 kB / 4.458 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=75): time 3.357e-06/9.683, allocations: 2.719 kB / 4.458 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75): time 0.007271/9.69, allocations: 2.197 MB / 4.46 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/9.69, allocations: 63.25 kB / 4.46 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/9.692, allocations: 1.141 MB / 4.462 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/9.692, allocations: 44.23 kB / 4.462 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005522/9.692, allocations: 0.8009 MB / 4.462 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/9.693, allocations: 261 kB / 4.463 GB, free: 105.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/9.693, allocations: 13.5 kB / 4.463 GB, free: 105.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/9.693, allocations: 342.5 kB / 4.463 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/9.693, allocations: 317.9 kB / 4.463 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007221/9.694, allocations: 0.5977 MB / 4.464 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/9.695, allocations: 407.9 kB / 4.464 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/9.695, allocations: 0.8438 kB / 4.464 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002077/9.697, allocations: 1.198 MB / 4.465 GB, free: 104.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.00033/9.697, allocations: 1.791 MB / 4.467 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/9.697, allocations: 9.656 kB / 4.467 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/9.699, allocations: 389 kB / 4.468 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/9.699, allocations: 147.7 kB / 4.468 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/9.701, allocations: 2.086 MB / 4.47 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/9.702, allocations: 182.4 kB / 4.47 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/9.702, allocations: 39 kB / 4.47 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/9.702, allocations: 5.75 kB / 4.47 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001585/9.704, allocations: 1.019 MB / 4.471 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/9.704, allocations: 7.594 kB / 4.471 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/9.706, allocations: 386.7 kB / 4.471 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/9.706, allocations: 145.8 kB / 4.471 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/9.709, allocations: 3.885 MB / 4.475 GB, free: 97.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/9.71, allocations: 174.5 kB / 4.475 GB, free: 97.93 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/9.71, allocations: 35.91 kB / 4.475 GB, free: 97.93 MB / 0.9011 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.0009893/9.711, allocations: 470.4 kB / 4.476 GB, free: 97.74 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/9.712, allocations: 155.8 kB / 4.476 GB, free: 97.66 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/9.713, allocations: 1.168 MB / 4.477 GB, free: 97.56 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/9.714, allocations: 7.344 kB / 4.477 GB, free: 97.56 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/9.714, allocations: 2.188 kB / 4.477 GB, free: 97.56 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/9.715, allocations: 1.258 MB / 4.478 GB, free: 97.08 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/9.719, allocations: 2.741 MB / 4.481 GB, free: 96.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/9.719, allocations: 3.875 kB / 4.481 GB, free: 96.65 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/9.72, allocations: 104.7 kB / 4.481 GB, free: 96.65 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/9.721, allocations: 388 kB / 4.482 GB, free: 96.62 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/9.721, allocations: 16.41 kB / 4.482 GB, free: 96.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/9.722, allocations: 2.068 MB / 4.484 GB, free: 95.05 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/9.722, allocations: 5.188 kB / 4.484 GB, free: 95.05 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/9.724, allocations: 1.394 MB / 4.485 GB, free: 94.54 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/9.725, allocations: 353 kB / 4.485 GB, free: 94.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/9.725, allocations: 16.81 kB / 4.485 GB, free: 94.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/9.726, allocations: 122.4 kB / 4.485 GB, free: 94.36 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/9.726, allocations: 52.05 kB / 4.485 GB, free: 94.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/9.726, allocations: 31.91 kB / 4.486 GB, free: 94.36 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001086/9.727, allocations: 0.8932 MB / 4.486 GB, free: 94.25 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.4e-07/9.727, allocations: 0 / 4.486 GB, free: 94.25 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003333/9.731, allocations: 1.108 MB / 4.487 GB, free: 94.19 MB / 0.9011 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.003171/9.734, allocations: 2.315 MB / 4.49 GB, free: 93.45 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002898/9.737, allocations: 1.61 MB / 4.491 GB, free: 93.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/9.737, allocations: 3.094 kB / 4.491 GB, free: 93.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008603/9.738, allocations: 493.1 kB / 4.492 GB, free: 93.19 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/9.741, allocations: 0.7968 MB / 4.493 GB, free: 93.18 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/9.745, allocations: 3.287 MB / 4.496 GB, free: 91.57 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000716/9.746, allocations: 1.386 MB / 4.497 GB, free: 90.86 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001303/9.747, allocations: 322 kB / 4.497 GB, free: 90.84 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/9.747, allocations: 97.14 kB / 4.498 GB, free: 90.83 MB / 0.9011 GB Notification: Performance of SimCode: time 1.112e-06/9.747, allocations: 1.156 kB / 4.498 GB, free: 90.83 MB / 0.9011 GB Notification: Performance of Templates: time 0.07352/9.821, allocations: 54.55 MB / 4.551 GB, free: 89.02 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches