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.002098/0.002098, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.393/1.393, allocations: 221.4 MB / 234.6 MB, free: 14.42 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009208/0.000921, allocations: 94.55 kB / 285.6 MB, free: 12.97 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.01053/0.01053, allocations: 1.556 MB / 338 MB, free: 8.469 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6093/0.6093, allocations: 90.05 MB / 479.4 MB, free: 2.953 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.447e-05/4.481e-05, allocations: 4 kB / 0.5445 GB, free: 7.969 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1683, allocations: 69.35 MB / 0.6122 GB, free: 2.527 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.357, allocations: 438.3 MB / 1.04 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.358, allocations: 89.52 kB / 1.04 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.5857/1.943, allocations: 75.21 MB / 1.114 GB, free: 191.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.317e-06/1.944, allocations: 4 kB / 1.114 GB, free: 191.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.055e-05/1.944, allocations: 6.5 kB / 1.114 GB, free: 191.9 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.002024/1.946, allocations: 0.7414 MB / 1.114 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.946, allocations: 15.92 kB / 1.115 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/1.946, allocations: 51.42 kB / 1.115 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/1.947, allocations: 313.9 kB / 1.115 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/1.947, allocations: 28.77 kB / 1.115 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/1.947, allocations: 32 kB / 1.115 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/1.947, allocations: 387.8 kB / 1.115 GB, free: 190.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/1.947, allocations: 0 / 1.115 GB, free: 190.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/1.947, allocations: 19.98 kB / 1.115 GB, free: 190.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/1.947, allocations: 8 kB / 1.115 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/1.948, allocations: 343 kB / 1.116 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/1.95, allocations: 1.871 MB / 1.117 GB, free: 187.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/1.951, allocations: 403.2 kB / 1.118 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/1.951, allocations: 189.2 kB / 1.118 GB, free: 187.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/1.953, allocations: 1.304 MB / 1.119 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/1.953, allocations: 228.4 kB / 1.12 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.205e-06/1.953, allocations: 0 / 1.12 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.0008146/1.954, allocations: 402.4 kB / 1.12 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/1.954, allocations: 63.08 kB / 1.12 GB, free: 185.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/1.954, allocations: 235.4 kB / 1.12 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/1.954, allocations: 37.7 kB / 1.12 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/1.954, allocations: 192.3 kB / 1.12 GB, free: 184.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.613e-05/1.954, allocations: 141.9 kB / 1.121 GB, free: 184.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/1.954, allocations: 8 kB / 1.121 GB, free: 184.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.955, allocations: 350.8 kB / 1.121 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/1.955, allocations: 124.9 kB / 1.121 GB, free: 184 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/1.955, allocations: 189.3 kB / 1.121 GB, free: 183.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/1.955, allocations: 178.8 kB / 1.121 GB, free: 183.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.955, allocations: 0 / 1.121 GB, free: 183.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007288/1.956, allocations: 485.2 kB / 1.122 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.956, allocations: 33.7 kB / 1.122 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.956, allocations: 3.953 kB / 1.122 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/1.956, allocations: 40.83 kB / 1.122 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/1.956, allocations: 84.05 kB / 1.122 GB, free: 183 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009526/1.957, allocations: 1.417 MB / 1.123 GB, free: 181.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/1.958, allocations: 43.72 kB / 1.123 GB, free: 181.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/1.958, allocations: 19.98 kB / 1.123 GB, free: 181.4 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 () * 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.0001053/1.958, allocations: 129.4 kB / 1.124 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/1.958, allocations: 43.52 kB / 1.124 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008551/1.959, allocations: 0.5127 MB / 1.124 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/1.959, allocations: 4 kB / 1.124 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.959, allocations: 4 kB / 1.124 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.959, allocations: 3.984 kB / 1.124 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.96, allocations: 1.03 MB / 1.125 GB, free: 179.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.96, allocations: 4 kB / 1.125 GB, free: 179.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/1.961, allocations: 75.89 kB / 1.125 GB, free: 179.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/1.961, allocations: 40.81 kB / 1.125 GB, free: 179.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/1.961, allocations: 15.98 kB / 1.125 GB, free: 179.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008184/1.962, allocations: 1.417 MB / 1.127 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.962, allocations: 3.938 kB / 1.127 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/1.963, allocations: 0.721 MB / 1.127 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/1.963, allocations: 120.6 kB / 1.127 GB, free: 177 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/1.963, allocations: 16 kB / 1.127 GB, free: 177 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/1.963, allocations: 23.89 kB / 1.127 GB, free: 177 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.963, allocations: 43.83 kB / 1.128 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/1.963, allocations: 19.98 kB / 1.128 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001577/1.963, allocations: 191.2 kB / 1.128 GB, free: 176.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.963, allocations: 0 / 1.128 GB, free: 176.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000746/1.964, allocations: 187.7 kB / 1.128 GB, free: 176.5 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) * 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.0006392/1.965, allocations: 334.2 kB / 1.128 GB, free: 176.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008293/1.966, allocations: 0.529 MB / 1.129 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.966, allocations: 320 / 1.129 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004349/1.966, allocations: 322.4 kB / 1.129 GB, free: 175.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/1.967, allocations: 105.7 kB / 1.129 GB, free: 175.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/1.968, allocations: 0.5496 MB / 1.13 GB, free: 174.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/1.968, allocations: 0.8083 MB / 1.13 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002948/1.969, allocations: 67.02 kB / 1.131 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/1.969, allocations: 43.42 kB / 1.131 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.833e-06/1.969, allocations: 0 / 1.131 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.01477/1.984, allocations: 8.83 MB / 1.139 GB, free: 165 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