Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01017/0.01017, allocations: 170.6 kB / 15.11 MB, free: 5.969 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.599/1.599, allocations: 223.2 MB / 239.1 MB, free: 24 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.001061/0.001061, allocations: 98.58 kB / 290.2 MB, free: 4.512 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.01054/0.01054, allocations: 1.543 MB / 342.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.852/0.852, allocations: 90.31 MB / 484.7 MB, free: 38.21 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005006, allocations: 23.98 kB / 0.5526 GB, free: 4.914 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3951, allocations: 69.35 MB / 0.6203 GB, free: 20.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.519/1.914, allocations: 437.9 MB / 1.048 GB, free: 166 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.914, allocations: 87.61 kB / 1.048 GB, free: 166 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.9437/2.858, allocations: 209.2 MB / 1.252 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.118e-06/2.858, allocations: 3.328 kB / 1.252 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001213/2.858, allocations: 24.83 kB / 1.252 GB, free: 158.3 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003997/2.862, allocations: 1.216 MB / 1.253 GB, free: 157.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/2.862, allocations: 11.42 kB / 1.253 GB, free: 157.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005909/2.863, allocations: 103.4 kB / 1.254 GB, free: 157.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/2.864, allocations: 0.5043 MB / 1.254 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/2.864, allocations: 56.81 kB / 1.254 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/2.864, allocations: 73.62 kB / 1.254 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/2.866, allocations: 0.6514 MB / 1.255 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/2.866, allocations: 3.812 kB / 1.255 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/2.866, allocations: 31.7 kB / 1.255 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/2.866, allocations: 14.78 kB / 1.255 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/2.867, allocations: 0.6443 MB / 1.256 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/2.871, allocations: 3.18 MB / 1.259 GB, free: 155.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/2.872, allocations: 0.7046 MB / 1.259 GB, free: 155.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/2.873, allocations: 0.9895 MB / 1.26 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/2.873, allocations: 38.69 kB / 1.26 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 3.297e-06/2.873, allocations: 0 / 1.26 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61): time 0.003771/2.877, allocations: 2.068 MB / 1.262 GB, free: 153.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/2.877, allocations: 59.56 kB / 1.262 GB, free: 153.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/2.877, allocations: 374.5 kB / 1.263 GB, free: 153.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/2.877, allocations: 40.42 kB / 1.263 GB, free: 153.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/2.878, allocations: 340.1 kB / 1.263 GB, free: 153.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/2.878, allocations: 208.7 kB / 1.263 GB, free: 153.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/2.878, allocations: 11.38 kB / 1.263 GB, free: 153.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001131/2.878, allocations: 370.5 kB / 1.264 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/2.878, allocations: 217.4 kB / 1.264 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/2.879, allocations: 220.6 kB / 1.264 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/2.879, allocations: 240.2 kB / 1.264 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/2.879, allocations: 0 / 1.264 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001264/2.88, allocations: 0.717 MB / 1.265 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/2.88, allocations: 6.812 kB / 1.265 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/2.88, allocations: 0 / 1.265 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/2.881, allocations: 115.2 kB / 1.265 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/2.881, allocations: 96.17 kB / 1.265 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/2.883, allocations: 2.027 MB / 1.267 GB, free: 151.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/2.884, allocations: 45.81 kB / 1.267 GB, free: 151.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/2.884, allocations: 28.28 kB / 1.267 GB, free: 151.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003268/2.884, allocations: 185.4 kB / 1.267 GB, free: 151.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/2.884, allocations: 61.69 kB / 1.267 GB, free: 151.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/2.886, allocations: 0.8775 MB / 1.268 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/2.886, allocations: 14.11 kB / 1.268 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/2.886, allocations: 3.969 kB / 1.268 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/2.886, allocations: 3.75 kB / 1.268 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/2.888, allocations: 1.679 MB / 1.27 GB, free: 150.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/2.888, allocations: 0 / 1.27 GB, free: 150.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/2.889, allocations: 104 kB / 1.27 GB, free: 150.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003335/2.889, allocations: 123.2 kB / 1.27 GB, free: 150.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/2.889, allocations: 22.2 kB / 1.27 GB, free: 150.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/2.891, allocations: 1.996 MB / 1.272 GB, free: 149.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/2.891, allocations: 3.281 kB / 1.272 GB, free: 149.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/2.893, allocations: 1.184 MB / 1.273 GB, free: 149.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/2.893, allocations: 131.4 kB / 1.273 GB, free: 149.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/2.893, allocations: 28.02 kB / 1.274 GB, free: 149.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/2.894, allocations: 44.81 kB / 1.274 GB, free: 149.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/2.894, allocations: 49.91 kB / 1.274 GB, free: 149.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/2.894, allocations: 25.47 kB / 1.274 GB, free: 149.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003271/2.894, allocations: 307.2 kB / 1.274 GB, free: 149.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/2.894, allocations: 0 / 1.274 GB, free: 149.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001326/2.895, allocations: 372.4 kB / 1.274 GB, free: 149.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (splitterT2_1.splitterN.inlet.m_flow,splitterT2_1.splitterN.outlets[1].m_flow) * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/2.897, allocations: 0.7733 MB / 1.275 GB, free: 148.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001408/2.898, allocations: 0.7703 MB / 1.276 GB, free: 148.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.898, allocations: 3.969 kB / 1.276 GB, free: 148.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008357/2.899, allocations: 0.535 MB / 1.276 GB, free: 148.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000893/2.9, allocations: 180.9 kB / 1.276 GB, free: 148.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/2.903, allocations: 1.69 MB / 1.278 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/2.903, allocations: 0.9616 MB / 1.279 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004477/2.904, allocations: 110.2 kB / 1.279 GB, free: 147 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/2.904, allocations: 63.28 kB / 1.279 GB, free: 147 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/2.904, allocations: 3.938 kB / 1.279 GB, free: 147 MB / 0.6198 GB Notification: Performance of Templates: time 0.02808/2.932, allocations: 16.91 MB / 1.296 GB, free: 146.4 MB / 0.6198 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches