Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009655/0.009654, allocations: 171.3 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.674/1.674, allocations: 223.2 MB / 239 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 107.5 kB / 290.2 MB, free: 13.93 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.01271/0.01271, allocations: 1.562 MB / 342.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9532/0.9532, allocations: 90.29 MB / 484.7 MB, free: 21.9 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000602/0.000602, allocations: 21.69 kB / 0.5526 GB, free: 30.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2031, allocations: 69.35 MB / 0.6203 GB, free: 5.641 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.474/1.677, allocations: 438.3 MB / 1.048 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.677, allocations: 98.73 kB / 1.048 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.149/1.826, allocations: 75.48 MB / 1.122 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/1.827, allocations: 0 / 1.122 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.639e-05/1.827, allocations: 4 kB / 1.122 GB, free: 36.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001666/1.828, allocations: 0.7782 MB / 1.123 GB, free: 35.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.828, allocations: 11.98 kB / 1.123 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/1.828, allocations: 47.44 kB / 1.123 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/1.829, allocations: 318.2 kB / 1.123 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/1.829, allocations: 24.64 kB / 1.123 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/1.829, allocations: 43.98 kB / 1.123 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/1.83, allocations: 408.2 kB / 1.124 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/1.83, allocations: 4 kB / 1.124 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/1.83, allocations: 12 kB / 1.124 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/1.83, allocations: 15.89 kB / 1.124 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/1.83, allocations: 390.3 kB / 1.124 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/1.832, allocations: 1.863 MB / 1.126 GB, free: 32.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/1.833, allocations: 447.3 kB / 1.126 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/1.834, allocations: 1.293 MB / 1.128 GB, free: 30.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004176/1.835, allocations: 244.8 kB / 1.128 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.605e-06/1.835, allocations: 3.938 kB / 1.128 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.001376/1.836, allocations: 0.8497 MB / 1.129 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.836, allocations: 63.36 kB / 1.129 GB, free: 29.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/1.836, allocations: 238.1 kB / 1.129 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/1.836, allocations: 33.7 kB / 1.129 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/1.836, allocations: 196.3 kB / 1.129 GB, free: 28.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/1.836, allocations: 134 kB / 1.129 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/1.836, allocations: 12 kB / 1.129 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/1.837, allocations: 342.8 kB / 1.13 GB, free: 28.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/1.837, allocations: 148.8 kB / 1.13 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/1.837, allocations: 209.4 kB / 1.13 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/1.837, allocations: 202.8 kB / 1.13 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.837, allocations: 0 / 1.13 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008568/1.838, allocations: 0.5208 MB / 1.131 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/1.838, allocations: 39.67 kB / 1.131 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.838, allocations: 0 / 1.131 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/1.839, allocations: 40.83 kB / 1.131 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/1.839, allocations: 79.83 kB / 1.131 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009094/1.84, allocations: 1.445 MB / 1.132 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/1.84, allocations: 47.73 kB / 1.132 GB, free: 25.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/1.84, allocations: 12 kB / 1.132 GB, free: 25.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.84, allocations: 149.8 kB / 1.133 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/1.84, allocations: 51.47 kB / 1.133 GB, free: 25.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/1.841, allocations: 0.5442 MB / 1.133 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.841, allocations: 12 kB / 1.133 GB, free: 24.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.841, allocations: 0 / 1.133 GB, free: 24.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.841, allocations: 3.984 kB / 1.133 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/1.843, allocations: 1.089 MB / 1.134 GB, free: 23.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.843, allocations: 0 / 1.134 GB, free: 23.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/1.843, allocations: 67.95 kB / 1.134 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/1.843, allocations: 44.75 kB / 1.134 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/1.843, allocations: 12.03 kB / 1.134 GB, free: 23.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007946/1.844, allocations: 1.44 MB / 1.136 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.844, allocations: 0 / 1.136 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/1.845, allocations: 0.7872 MB / 1.136 GB, free: 21.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.654e-05/1.845, allocations: 116.6 kB / 1.137 GB, free: 20.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/1.845, allocations: 4 kB / 1.137 GB, free: 20.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/1.846, allocations: 31.88 kB / 1.137 GB, free: 20.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/1.846, allocations: 44 kB / 1.137 GB, free: 20.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/1.846, allocations: 15.98 kB / 1.137 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001511/1.846, allocations: 194 kB / 1.137 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/1.846, allocations: 0 / 1.137 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006426/1.847, allocations: 187.7 kB / 1.137 GB, free: 20.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (checkValve.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005304/1.847, allocations: 344.6 kB / 1.137 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009574/1.848, allocations: 0.5719 MB / 1.138 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.848, allocations: 0 / 1.138 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004642/1.849, allocations: 352.2 kB / 1.138 GB, free: 19.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/1.849, allocations: 106.5 kB / 1.138 GB, free: 19.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/1.851, allocations: 0.9373 MB / 1.139 GB, free: 18.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/1.851, allocations: 0.8044 MB / 1.14 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002452/1.851, allocations: 71.02 kB / 1.14 GB, free: 17.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/1.851, allocations: 39.42 kB / 1.14 GB, free: 17.14 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/1.851, allocations: 3.938 kB / 1.14 GB, free: 17.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.01248/1.864, allocations: 8.527 MB / 1.149 GB, free: 8.68 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches