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.002304/0.002305, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 229.6 MB, free: 3.117 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.0009397/0.0009397, allocations: 88.19 kB / 280.5 MB, free: 1.125 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.009442/0.009441, allocations: 1.571 MB / 332.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5812/0.5812, allocations: 90.07 MB / 474.1 MB, free: 7.047 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.016e-05, allocations: 4 kB / 0.5375 GB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1579, allocations: 69.36 MB / 0.6052 GB, free: 8.469 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.364, allocations: 437.1 MB / 1.032 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.364, allocations: 85.02 kB / 1.032 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8362/2.2, allocations: 207.4 MB / 1.235 GB, free: 80.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/2.2, allocations: 0 / 1.235 GB, free: 80.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001047/2.201, allocations: 27.98 kB / 1.235 GB, free: 80.17 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002983/2.204, allocations: 1.13 MB / 1.236 GB, free: 79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/2.204, allocations: 11.97 kB / 1.236 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/2.204, allocations: 98.88 kB / 1.236 GB, free: 78.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009594/2.205, allocations: 0.5023 MB / 1.236 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/2.205, allocations: 24 kB / 1.236 GB, free: 78.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/2.205, allocations: 44 kB / 1.236 GB, free: 78.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009244/2.206, allocations: 0.5589 MB / 1.237 GB, free: 77.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/2.207, allocations: 0.5423 MB / 1.238 GB, free: 77.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/2.207, allocations: 0 / 1.238 GB, free: 77.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/2.207, allocations: 0 / 1.238 GB, free: 77.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/2.207, allocations: 16 kB / 1.238 GB, free: 77.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/2.21, allocations: 3.053 MB / 1.241 GB, free: 73.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/2.212, allocations: 0.6576 MB / 1.241 GB, free: 73.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/2.212, allocations: 266.4 kB / 1.241 GB, free: 72.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/2.213, allocations: 0.9939 MB / 1.242 GB, free: 71.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/2.213, allocations: 39.12 kB / 1.242 GB, free: 71.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 3.406e-06/2.213, allocations: 0 / 1.242 GB, free: 71.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.003922/2.217, allocations: 1.373 MB / 1.244 GB, free: 70.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/2.217, allocations: 59.97 kB / 1.244 GB, free: 70.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/2.217, allocations: 333.3 kB / 1.244 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/2.217, allocations: 25.7 kB / 1.244 GB, free: 69.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/2.217, allocations: 344.3 kB / 1.245 GB, free: 69.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/2.217, allocations: 197 kB / 1.245 GB, free: 69.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/2.217, allocations: 0 / 1.245 GB, free: 69.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001006/2.218, allocations: 374.7 kB / 1.245 GB, free: 68.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/2.218, allocations: 185.1 kB / 1.245 GB, free: 68.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/2.218, allocations: 191.8 kB / 1.245 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006453/2.219, allocations: 214 kB / 1.246 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/2.219, allocations: 0 / 1.246 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001334/2.22, allocations: 0.6201 MB / 1.246 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/2.22, allocations: 8 kB / 1.246 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/2.22, allocations: 4 kB / 1.246 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/2.22, allocations: 104.8 kB / 1.246 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/2.221, allocations: 99.81 kB / 1.246 GB, free: 67.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/2.223, allocations: 1.894 MB / 1.248 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/2.223, allocations: 39.95 kB / 1.248 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/2.223, allocations: 19.98 kB / 1.248 GB, free: 65.28 MB / 0.6042 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 () * 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.0001168/2.223, allocations: 106 kB / 1.248 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/2.223, allocations: 63.23 kB / 1.249 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/2.225, allocations: 0.7829 MB / 1.249 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/2.225, allocations: 11.95 kB / 1.249 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/2.225, allocations: 0 / 1.249 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/2.225, allocations: 3.984 kB / 1.249 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/2.228, allocations: 1.501 MB / 1.251 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/2.228, allocations: 0 / 1.251 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/2.228, allocations: 107.9 kB / 1.251 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003369/2.228, allocations: 112.7 kB / 1.251 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/2.228, allocations: 15.98 kB / 1.251 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/2.23, allocations: 1.898 MB / 1.253 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.23, allocations: 0 / 1.253 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/2.232, allocations: 1.069 MB / 1.254 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/2.232, allocations: 132.4 kB / 1.254 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-05/2.232, allocations: 0 / 1.254 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/2.232, allocations: 39.92 kB / 1.254 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/2.233, allocations: 52.48 kB / 1.254 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/2.233, allocations: 27.98 kB / 1.254 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002453/2.233, allocations: 263 kB / 1.254 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/2.233, allocations: 0 / 1.254 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001097/2.234, allocations: 347.8 kB / 1.255 GB, free: 58.55 MB / 0.6042 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 () * 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.00128/2.235, allocations: 0.8025 MB / 1.255 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001051/2.236, allocations: 0.6919 MB / 1.256 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.236, allocations: 0 / 1.256 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006218/2.237, allocations: 497.2 kB / 1.257 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008761/2.238, allocations: 162.4 kB / 1.257 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/2.24, allocations: 0.9491 MB / 1.258 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/2.24, allocations: 0.965 MB / 1.259 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004427/2.241, allocations: 108.2 kB / 1.259 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/2.241, allocations: 63.34 kB / 1.259 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/2.241, allocations: 0 / 1.259 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.02311/2.264, allocations: 14.31 MB / 1.273 GB, free: 40.02 MB / 0.6042 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