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.251/2.251, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001472/0.001473, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.642/1.642, 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.0009507/0.0009502, allocations: 110 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.154e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2808, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.685/5.966, allocations: 2.182 GB / 3.388 GB, free: 120.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/5.967, allocations: 101.7 kB / 3.388 GB, free: 120.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.916/10.88, allocations: 1.119 GB / 4.507 GB, free: 186.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/10.88, allocations: 0 / 4.507 GB, free: 186.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002877/10.88, allocations: 55.03 kB / 4.507 GB, free: 186.3 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006427/10.89, allocations: 2.106 MB / 4.509 GB, free: 185.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/10.89, allocations: 10.47 kB / 4.509 GB, free: 185.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/10.89, allocations: 369.2 kB / 4.51 GB, free: 185.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004505/10.9, allocations: 1.655 MB / 4.511 GB, free: 185 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/10.9, allocations: 45.31 kB / 4.511 GB, free: 185 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/10.9, allocations: 81.88 kB / 4.512 GB, free: 185 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002331/10.9, allocations: 0.9338 MB / 4.512 GB, free: 185 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/10.9, allocations: 1.222 MB / 4.514 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/10.9, allocations: 1.312 kB / 4.514 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/10.9, allocations: 6.75 kB / 4.514 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/10.9, allocations: 52.73 kB / 4.514 GB, free: 184.8 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.01024/10.91, allocations: 6.875 MB / 4.52 GB, free: 181.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/10.91, allocations: 0.8092 MB / 4.521 GB, free: 181 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/10.91, allocations: 386.9 kB / 4.522 GB, free: 181 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007955/10.92, allocations: 0.7119 MB / 4.522 GB, free: 180.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/10.92, allocations: 45.59 kB / 4.522 GB, free: 180.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=75): time 3.686e-06/10.92, allocations: 0 / 4.522 GB, free: 180.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=75): time 0.003647/10.92, allocations: 1.157 MB / 4.523 GB, free: 180 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/10.92, allocations: 58.38 kB / 4.524 GB, free: 179.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/10.92, allocations: 0.9385 MB / 4.524 GB, free: 179.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/10.92, allocations: 29.52 kB / 4.524 GB, free: 179.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007267/10.92, allocations: 0.8141 MB / 4.525 GB, free: 179.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/10.92, allocations: 249.4 kB / 4.526 GB, free: 179.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/10.92, allocations: 0 / 4.526 GB, free: 179.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001051/10.92, allocations: 335.4 kB / 4.526 GB, free: 179 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/10.92, allocations: 264.6 kB / 4.526 GB, free: 179 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/10.92, allocations: 0.5403 MB / 4.527 GB, free: 178.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/10.92, allocations: 427 kB / 4.527 GB, free: 178.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/10.92, allocations: 0 / 4.527 GB, free: 178.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003152/10.93, allocations: 1.24 MB / 4.528 GB, free: 178.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005566/10.93, allocations: 1.963 MB / 4.53 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/10.93, allocations: 9.484 kB / 4.53 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/10.93, allocations: 374.9 kB / 4.531 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/10.93, allocations: 149.9 kB / 4.531 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/10.93, allocations: 2.111 MB / 4.533 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/10.93, allocations: 144.7 kB / 4.533 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/10.93, allocations: 35.03 kB / 4.533 GB, free: 174.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/10.93, allocations: 7.953 kB / 4.533 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002519/10.94, allocations: 1.034 MB / 4.534 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/10.94, allocations: 3.594 kB / 4.534 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/10.94, allocations: 372.1 kB / 4.534 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/10.94, allocations: 148.8 kB / 4.534 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/10.94, allocations: 3.788 MB / 4.538 GB, free: 171.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/10.94, allocations: 135.2 kB / 4.538 GB, free: 171.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/10.94, allocations: 37.77 kB / 4.538 GB, free: 171.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003926/10.94, allocations: 123.1 kB / 4.538 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/10.95, allocations: 142.2 kB / 4.539 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/10.95, allocations: 1.216 MB / 4.54 GB, free: 171.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/10.95, allocations: 7.812 kB / 4.54 GB, free: 171.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/10.95, allocations: 0 / 4.54 GB, free: 171.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002454/10.95, allocations: 1.324 MB / 4.541 GB, free: 170.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006474/10.96, allocations: 2.503 MB / 4.543 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/10.96, allocations: 3.969 kB / 4.543 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/10.96, allocations: 105.8 kB / 4.544 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/10.96, allocations: 352.4 kB / 4.544 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/10.96, allocations: 7.859 kB / 4.544 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/10.96, allocations: 2.091 MB / 4.546 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/10.96, allocations: 5.844 kB / 4.546 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/10.96, allocations: 1.321 MB / 4.547 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/10.97, allocations: 328.8 kB / 4.548 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006884/10.97, allocations: 2.531 kB / 4.548 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/10.97, allocations: 118.2 kB / 4.548 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/10.97, allocations: 55.41 kB / 4.548 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/10.97, allocations: 29.27 kB / 4.548 GB, free: 168.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002283/10.97, allocations: 0.7132 MB / 4.548 GB, free: 168 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.6e-07/10.97, allocations: 0 / 4.548 GB, free: 168 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006217/10.98, allocations: 1.038 MB / 4.549 GB, free: 167.8 MB / 1.151 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 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00617/10.98, allocations: 2.53 MB / 4.552 GB, free: 167 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002939/10.99, allocations: 1.464 MB / 4.553 GB, free: 166.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/10.99, allocations: 0 / 4.553 GB, free: 166.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000838/10.99, allocations: 413 kB / 4.554 GB, free: 166.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004311/10.99, allocations: 0.721 MB / 4.554 GB, free: 166.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/11, allocations: 1.934 MB / 4.556 GB, free: 166.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/11, allocations: 1.384 MB / 4.558 GB, free: 165.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002265/11, allocations: 410.6 kB / 4.558 GB, free: 165.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/11, allocations: 71.53 kB / 4.558 GB, free: 165.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/11, allocations: 0 / 4.558 GB, free: 165.3 MB / 1.151 GB Notification: Performance of Templates: time 0.07162/11.07, allocations: 41.65 MB / 4.599 GB, free: 162.6 MB / 1.151 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