Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) 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) Running command: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01008/0.01008, allocations: 170.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.814/1.814, allocations: 223.2 MB / 239 MB, free: 48 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 102.6 kB / 290.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01318/0.01318, allocations: 1.554 MB / 342.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8888/0.8888, allocations: 90.32 MB / 484.7 MB, free: 38.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007448/0.0007446, allocations: 20 kB / 0.5526 GB, free: 4.914 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4044, allocations: 69.36 MB / 0.6203 GB, free: 20.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.387/1.792, allocations: 433 MB / 1.043 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004448/1.792, allocations: 92.58 kB / 1.043 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1866/1.979, allocations: 89.37 MB / 1.131 GB, free: 104 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.464e-06/1.979, allocations: 0 / 1.131 GB, free: 104 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.645e-05/1.979, allocations: 12.19 kB / 1.131 GB, free: 104 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001711/1.981, allocations: 0.7088 MB / 1.131 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.981, allocations: 15.98 kB / 1.131 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/1.981, allocations: 43.53 kB / 1.131 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/1.981, allocations: 286.4 kB / 1.132 GB, free: 102.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/1.981, allocations: 20.56 kB / 1.132 GB, free: 102.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/1.981, allocations: 35.89 kB / 1.132 GB, free: 102.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/1.982, allocations: 299.7 kB / 1.132 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.982, allocations: 8 kB / 1.132 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/1.982, allocations: 8 kB / 1.132 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/1.982, allocations: 12 kB / 1.132 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/1.983, allocations: 216.2 kB / 1.132 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/1.984, allocations: 1.587 MB / 1.134 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/1.985, allocations: 251.8 kB / 1.134 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/1.986, allocations: 461.6 kB / 1.134 GB, free: 99.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/1.986, allocations: 38.56 kB / 1.134 GB, free: 99.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 3.025e-06/1.986, allocations: 0 / 1.134 GB, free: 99.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001228/1.987, allocations: 0.765 MB / 1.135 GB, free: 98.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/1.987, allocations: 110.8 kB / 1.135 GB, free: 98.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/1.987, allocations: 255.7 kB / 1.136 GB, free: 98.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/1.987, allocations: 29.7 kB / 1.136 GB, free: 98.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/1.987, allocations: 192 kB / 1.136 GB, free: 98.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-05/1.987, allocations: 82.81 kB / 1.136 GB, free: 98.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/1.987, allocations: 4.094 kB / 1.136 GB, free: 98.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/1.988, allocations: 342.8 kB / 1.136 GB, free: 97.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/1.988, allocations: 96.12 kB / 1.136 GB, free: 97.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/1.988, allocations: 138.4 kB / 1.136 GB, free: 97.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/1.988, allocations: 112 kB / 1.136 GB, free: 97.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/1.988, allocations: 0 / 1.136 GB, free: 97.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006223/1.989, allocations: 321.8 kB / 1.137 GB, free: 97.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.989, allocations: 11.98 kB / 1.137 GB, free: 97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.989, allocations: 0 / 1.137 GB, free: 97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/1.989, allocations: 24.81 kB / 1.137 GB, free: 96.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/1.989, allocations: 56.03 kB / 1.137 GB, free: 96.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008381/1.99, allocations: 1.296 MB / 1.138 GB, free: 95.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/1.99, allocations: 31.73 kB / 1.138 GB, free: 95.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/1.99, allocations: 8 kB / 1.138 GB, free: 95.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/1.991, allocations: 146 kB / 1.138 GB, free: 95.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/1.991, allocations: 35.62 kB / 1.138 GB, free: 95.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006875/1.991, allocations: 333.5 kB / 1.139 GB, free: 94.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.991, allocations: 8 kB / 1.139 GB, free: 94.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.991, allocations: 0 / 1.139 GB, free: 94.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.992, allocations: 7.938 kB / 1.139 GB, free: 94.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/1.992, allocations: 349.3 kB / 1.139 GB, free: 94.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.992, allocations: 4 kB / 1.139 GB, free: 94.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/1.992, allocations: 35.98 kB / 1.139 GB, free: 94.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.753e-05/1.992, allocations: 28.8 kB / 1.139 GB, free: 94.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/1.992, allocations: 11.98 kB / 1.139 GB, free: 94.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006889/1.993, allocations: 1.288 MB / 1.14 GB, free: 93.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.993, allocations: 0 / 1.14 GB, free: 93.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/1.994, allocations: 0.6548 MB / 1.141 GB, free: 92.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/1.994, allocations: 112.7 kB / 1.141 GB, free: 92.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/1.994, allocations: 7.984 kB / 1.141 GB, free: 92.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/1.994, allocations: 19.95 kB / 1.141 GB, free: 92.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/1.994, allocations: 15.97 kB / 1.141 GB, free: 92.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/1.994, allocations: 16.11 kB / 1.141 GB, free: 92.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001809/1.995, allocations: 203.1 kB / 1.141 GB, free: 91.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/1.995, allocations: 0 / 1.141 GB, free: 91.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006155/1.995, allocations: 119.8 kB / 1.141 GB, free: 91.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_rear.fore.m_flow,terminal_rear.p,terminal_fore.p) * 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 (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004867/1.996, allocations: 310.1 kB / 1.142 GB, free: 91.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007385/1.996, allocations: 384.2 kB / 1.142 GB, free: 91.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.996, allocations: 4.25 kB / 1.142 GB, free: 91.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/1.997, allocations: 260.3 kB / 1.142 GB, free: 90.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/1.997, allocations: 73.03 kB / 1.142 GB, free: 90.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/1.999, allocations: 0.922 MB / 1.143 GB, free: 89.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/1.999, allocations: 0.7953 MB / 1.144 GB, free: 89.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001809/1.999, allocations: 38.17 kB / 1.144 GB, free: 88.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/1.999, allocations: 27.42 kB / 1.144 GB, free: 88.95 MB / 0.6198 GB Notification: Performance of SimCode: time 7.82e-07/1.999, allocations: 0 / 1.144 GB, free: 88.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.01147/2.011, allocations: 6.488 MB / 1.151 GB, free: 82.53 MB / 0.6198 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches