Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009361/0.00936, allocations: 170.9 kB / 15.11 MB, free: 6.039 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.613/1.613, allocations: 223.2 MB / 239.1 MB, free: 1.789 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.0009535/0.0009535, allocations: 100.2 kB / 290.2 MB, free: 13.95 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.01476/0.01475, allocations: 1.551 MB / 342.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9364/0.9364, allocations: 90.3 MB / 484.7 MB, free: 21.91 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.000516, allocations: 21.48 kB / 0.5526 GB, free: 30.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1882, allocations: 69.37 MB / 0.6203 GB, free: 5.652 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.471, allocations: 442.1 MB / 1.052 GB, free: 99.64 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004359/1.472, allocations: 91.39 kB / 1.052 GB, free: 99.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.026/2.498, allocations: 253.6 MB / 1.3 GB, free: 96.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.195e-06/2.498, allocations: 0 / 1.3 GB, free: 96.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001393/2.498, allocations: 39.98 kB / 1.3 GB, free: 96.93 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.005862/2.504, allocations: 1.769 MB / 1.302 GB, free: 95.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/2.504, allocations: 11.98 kB / 1.302 GB, free: 95.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009188/2.505, allocations: 154.3 kB / 1.302 GB, free: 94.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/2.507, allocations: 0.7475 MB / 1.303 GB, free: 94.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/2.507, allocations: 86.41 kB / 1.303 GB, free: 94.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004514/2.508, allocations: 123.9 kB / 1.303 GB, free: 93.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/2.51, allocations: 1.419 MB / 1.304 GB, free: 92.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/2.51, allocations: 4 kB / 1.304 GB, free: 92.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/2.511, allocations: 48.34 kB / 1.304 GB, free: 92.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/2.511, allocations: 35.95 kB / 1.304 GB, free: 92.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/2.513, allocations: 1.719 MB / 1.306 GB, free: 90.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006632/2.52, allocations: 6.411 MB / 1.312 GB, free: 83.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/2.522, allocations: 1.518 MB / 1.314 GB, free: 82.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004567/2.527, allocations: 3.622 MB / 1.317 GB, free: 78.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001231/2.528, allocations: 0.8175 MB / 1.318 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 4.088e-06/2.528, allocations: 0 / 1.318 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.007632/2.536, allocations: 4.542 MB / 1.322 GB, free: 72.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/2.536, allocations: 68.72 kB / 1.322 GB, free: 72.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/2.536, allocations: 479.4 kB / 1.323 GB, free: 72.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/2.536, allocations: 45.7 kB / 1.323 GB, free: 72.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/2.537, allocations: 460.7 kB / 1.323 GB, free: 71.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/2.537, allocations: 465.1 kB / 1.324 GB, free: 71.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/2.537, allocations: 20 kB / 1.324 GB, free: 71.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001372/2.537, allocations: 402.7 kB / 1.324 GB, free: 70.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008546/2.538, allocations: 0.5921 MB / 1.325 GB, free: 70.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/2.539, allocations: 0.6898 MB / 1.326 GB, free: 69.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009718/2.54, allocations: 0.6797 MB / 1.326 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/2.54, allocations: 0 / 1.326 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002965/2.543, allocations: 1.736 MB / 1.328 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/2.543, allocations: 33.7 kB / 1.328 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/2.543, allocations: 7.938 kB / 1.328 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/2.544, allocations: 168.6 kB / 1.328 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/2.545, allocations: 251.6 kB / 1.328 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/2.548, allocations: 2.695 MB / 1.331 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/2.549, allocations: 95.77 kB / 1.331 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/2.55, allocations: 55.97 kB / 1.331 GB, free: 63.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 3 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007026/2.55, allocations: 273.6 kB / 1.331 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/2.551, allocations: 106.8 kB / 1.331 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/2.555, allocations: 2.275 MB / 1.334 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/2.555, allocations: 16 kB / 1.334 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/2.555, allocations: 4 kB / 1.334 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/2.555, allocations: 11.92 kB / 1.334 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/2.56, allocations: 3.752 MB / 1.337 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/2.56, allocations: 0 / 1.337 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/2.561, allocations: 283.6 kB / 1.338 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/2.562, allocations: 148.8 kB / 1.338 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/2.562, allocations: 55.92 kB / 1.338 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/2.564, allocations: 2.385 MB / 1.34 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/2.564, allocations: 0 / 1.34 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/2.568, allocations: 2.889 MB / 1.343 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/2.569, allocations: 167.8 kB / 1.343 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/2.569, allocations: 39.94 kB / 1.343 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/2.57, allocations: 111.7 kB / 1.343 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/2.57, allocations: 121.1 kB / 1.343 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/2.57, allocations: 59.97 kB / 1.343 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004576/2.571, allocations: 375.1 kB / 1.344 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/2.571, allocations: 0 / 1.344 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002098/2.573, allocations: 0.5701 MB / 1.344 GB, free: 49.65 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (junctionRFF2_1.junctionMN.rears[1].m_flow,junctionRFF2_1.junctionMN.fores[1].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 (154): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/2.574, allocations: 0.9082 MB / 1.345 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003026/2.577, allocations: 1.837 MB / 1.347 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/2.577, allocations: 0 / 1.347 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/2.579, allocations: 1.108 MB / 1.348 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/2.58, allocations: 295.5 kB / 1.348 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/2.585, allocations: 2.997 MB / 1.351 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/2.585, allocations: 1.177 MB / 1.352 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001081/2.586, allocations: 311.1 kB / 1.353 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/2.587, allocations: 139.4 kB / 1.353 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of SimCode: time 3.296e-06/2.587, allocations: 0 / 1.353 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.04369/2.63, allocations: 27.27 MB / 1.38 GB, free: 13.66 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.TanValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches