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.002009/0.002009, 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.469/1.469, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009267/0.0009268, allocations: 86.06 kB / 285.6 MB, free: 12.98 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.01216/0.01216, allocations: 1.547 MB / 338 MB, free: 8.473 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.597/0.597, allocations: 90.03 MB / 479.3 MB, free: 2.977 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.568e-05, allocations: 4 kB / 0.5445 GB, free: 7.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1573, allocations: 69.36 MB / 0.6122 GB, free: 2.539 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.294, allocations: 442.1 MB / 1.044 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.294, allocations: 89.94 kB / 1.044 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8469/2.141, allocations: 252.8 MB / 1.291 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.835e-06/2.141, allocations: 7.984 kB / 1.291 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001249/2.141, allocations: 35.94 kB / 1.291 GB, free: 8.23 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.004686/2.146, allocations: 1.661 MB / 1.292 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/2.146, allocations: 19.86 kB / 1.293 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/2.147, allocations: 162.2 kB / 1.293 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/2.148, allocations: 0.7398 MB / 1.293 GB, free: 5.551 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/2.148, allocations: 90.41 kB / 1.293 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/2.148, allocations: 123.9 kB / 1.294 GB, free: 5.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/2.15, allocations: 1.36 MB / 1.295 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/2.15, allocations: 0 / 1.295 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.63e-05/2.15, allocations: 44 kB / 1.295 GB, free: 3.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/2.15, allocations: 43.94 kB / 1.295 GB, free: 3.867 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/2.152, allocations: 1.614 MB / 1.297 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3732/2.526, allocations: 6.401 MB / 1.303 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/2.528, allocations: 1.446 MB / 1.304 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/2.529, allocations: 0.7288 MB / 1.305 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005666/2.535, allocations: 3.663 MB / 1.309 GB, free: 105 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/2.537, allocations: 0.7707 MB / 1.309 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 4.559e-06/2.537, allocations: 2.578 kB / 1.309 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.006831/2.544, allocations: 3.303 MB / 1.313 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/2.544, allocations: 67.53 kB / 1.313 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/2.544, allocations: 475.3 kB / 1.313 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/2.544, allocations: 45.36 kB / 1.313 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/2.545, allocations: 464 kB / 1.314 GB, free: 104 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/2.545, allocations: 461 kB / 1.314 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/2.545, allocations: 22.44 kB / 1.314 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001254/2.545, allocations: 405.7 kB / 1.314 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009044/2.546, allocations: 0.5414 MB / 1.315 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009977/2.547, allocations: 0.6412 MB / 1.316 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/2.548, allocations: 0.6397 MB / 1.316 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/2.548, allocations: 1.375 kB / 1.316 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003209/2.552, allocations: 1.64 MB / 1.318 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/2.552, allocations: 32.2 kB / 1.318 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/2.552, allocations: 1.625 kB / 1.318 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/2.552, allocations: 169.2 kB / 1.318 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/2.553, allocations: 256.1 kB / 1.318 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/2.557, allocations: 2.641 MB / 1.321 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/2.558, allocations: 101.8 kB / 1.321 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/2.558, allocations: 48.83 kB / 1.321 GB, free: 101.8 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 () * 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.0002393/2.558, allocations: 161.8 kB / 1.321 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/2.559, allocations: 99.59 kB / 1.321 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004183/2.563, allocations: 2.186 MB / 1.323 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/2.563, allocations: 16.25 kB / 1.323 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/2.563, allocations: 2.938 kB / 1.323 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/2.563, allocations: 10.12 kB / 1.323 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/2.57, allocations: 3.643 MB / 1.327 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/2.57, allocations: 4.234 kB / 1.327 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/2.571, allocations: 291.4 kB / 1.327 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000554/2.572, allocations: 145.1 kB / 1.327 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/2.572, allocations: 52.34 kB / 1.327 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/2.575, allocations: 2.341 MB / 1.33 GB, free: 99.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/2.575, allocations: 6.344 kB / 1.33 GB, free: 99.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/2.58, allocations: 2.747 MB / 1.332 GB, free: 99.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/2.58, allocations: 166.4 kB / 1.332 GB, free: 99.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/2.58, allocations: 35.23 kB / 1.333 GB, free: 99.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000812/2.581, allocations: 106.6 kB / 1.333 GB, free: 99.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/2.582, allocations: 119.9 kB / 1.333 GB, free: 99.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/2.582, allocations: 56.94 kB / 1.333 GB, free: 99.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005465/2.582, allocations: 378.5 kB / 1.333 GB, free: 99.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.673e-06/2.582, allocations: 0 / 1.333 GB, free: 99.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002121/2.584, allocations: 0.5762 MB / 1.334 GB, free: 99.18 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) * 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.001464/2.586, allocations: 0.909 MB / 1.335 GB, free: 99.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00278/2.589, allocations: 1.727 MB / 1.336 GB, free: 98.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/2.589, allocations: 2.938 kB / 1.336 GB, free: 98.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/2.59, allocations: 1.048 MB / 1.337 GB, free: 98.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/2.592, allocations: 311.1 kB / 1.338 GB, free: 98.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/2.595, allocations: 1.935 MB / 1.339 GB, free: 98.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/2.595, allocations: 1.167 MB / 1.341 GB, free: 97.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001058/2.596, allocations: 330.4 kB / 1.341 GB, free: 97.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/2.597, allocations: 134.4 kB / 1.341 GB, free: 97.46 MB / 0.6042 GB Notification: Performance of SimCode: time 9.01e-07/2.597, allocations: 3.656 kB / 1.341 GB, free: 97.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.04011/2.637, allocations: 28.14 MB / 1.369 GB, free: 96.48 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