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.002198/0.002199, allocations: 180.9 kB / 7.651 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.444/1.444, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.00106/0.00106, allocations: 103.4 kB / 280.5 MB, free: 5.27 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.008822/0.008821, allocations: 1.564 MB / 332.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7261/0.7261, allocations: 90.04 MB / 474 MB, free: 13.04 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.699e-05, allocations: 2.688 kB / 0.5375 GB, free: 33.04 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1915, allocations: 69.37 MB / 0.6052 GB, free: 124 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.357/1.549, allocations: 441.4 MB / 1.036 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.549, allocations: 88.95 kB / 1.036 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9462/2.495, allocations: 251.5 MB / 1.282 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/2.495, allocations: 0 / 1.282 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001581/2.495, allocations: 31.75 kB / 1.282 GB, free: 120.7 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.005742/2.501, allocations: 1.67 MB / 1.284 GB, free: 119 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/2.501, allocations: 12.03 kB / 1.284 GB, free: 119 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008782/2.502, allocations: 158.2 kB / 1.284 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/2.504, allocations: 0.7396 MB / 1.284 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/2.504, allocations: 36 kB / 1.285 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004457/2.505, allocations: 72 kB / 1.285 GB, free: 118 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003045/2.508, allocations: 1.556 MB / 1.286 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/2.51, allocations: 1.199 MB / 1.287 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/2.51, allocations: 0.8594 kB / 1.287 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/2.511, allocations: 3.984 kB / 1.287 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.664e-05/2.511, allocations: 36 kB / 1.287 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00771/2.518, allocations: 6.207 MB / 1.293 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/2.521, allocations: 1.412 MB / 1.295 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009641/2.522, allocations: 0.6803 MB / 1.295 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006241/2.528, allocations: 3.626 MB / 1.299 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/2.529, allocations: 0.733 MB / 1.3 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 5.45e-06/2.529, allocations: 4 kB / 1.3 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.01371/2.543, allocations: 4.128 MB / 1.304 GB, free: 97.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/2.543, allocations: 64.72 kB / 1.304 GB, free: 97.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/2.544, allocations: 419.5 kB / 1.304 GB, free: 96.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/2.544, allocations: 33.69 kB / 1.304 GB, free: 96.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/2.544, allocations: 460.6 kB / 1.305 GB, free: 96.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/2.545, allocations: 437.3 kB / 1.305 GB, free: 96.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/2.545, allocations: 0 / 1.305 GB, free: 96.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001571/2.545, allocations: 402.7 kB / 1.305 GB, free: 95.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/2.545, allocations: 0.5259 MB / 1.306 GB, free: 95.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/2.546, allocations: 0.6093 MB / 1.307 GB, free: 94.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/2.55, allocations: 0.9313 MB / 1.307 GB, free: 93.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/2.55, allocations: 0 / 1.307 GB, free: 93.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.005065/2.555, allocations: 1.873 MB / 1.309 GB, free: 91.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/2.555, allocations: 39.25 kB / 1.309 GB, free: 91.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/2.555, allocations: 128 / 1.309 GB, free: 91.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/2.555, allocations: 160.8 kB / 1.309 GB, free: 91.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/2.556, allocations: 251.6 kB / 1.31 GB, free: 91.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/2.56, allocations: 2.621 MB / 1.312 GB, free: 88.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009975/2.561, allocations: 75.81 kB / 1.312 GB, free: 88.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/2.561, allocations: 47.97 kB / 1.312 GB, free: 88.33 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.0002436/2.561, allocations: 121.4 kB / 1.313 GB, free: 88.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/2.562, allocations: 98.88 kB / 1.313 GB, free: 88.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005514/2.567, allocations: 2.308 MB / 1.315 GB, free: 85.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/2.567, allocations: 16 kB / 1.315 GB, free: 85.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/2.567, allocations: 4 kB / 1.315 GB, free: 85.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/2.567, allocations: 8.062 kB / 1.315 GB, free: 85.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007552/2.575, allocations: 3.621 MB / 1.318 GB, free: 82.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/2.575, allocations: 3.984 kB / 1.318 GB, free: 82.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009833/2.576, allocations: 287.6 kB / 1.319 GB, free: 81.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/2.576, allocations: 144.7 kB / 1.319 GB, free: 81.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/2.577, allocations: 35.95 kB / 1.319 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/2.579, allocations: 2.294 MB / 1.321 GB, free: 79.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.579, allocations: 0 / 1.321 GB, free: 79.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/2.584, allocations: 2.865 MB / 1.324 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/2.585, allocations: 167.8 kB / 1.324 GB, free: 76.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/2.585, allocations: 15.98 kB / 1.324 GB, free: 76.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/2.586, allocations: 71.77 kB / 1.324 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/2.586, allocations: 125.1 kB / 1.324 GB, free: 75.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/2.586, allocations: 55.97 kB / 1.324 GB, free: 75.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004309/2.586, allocations: 323.2 kB / 1.325 GB, free: 75.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/2.586, allocations: 8 kB / 1.325 GB, free: 75.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002083/2.589, allocations: 0.5271 MB / 1.325 GB, free: 75.07 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.001717/2.59, allocations: 0.9085 MB / 1.326 GB, free: 74.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00248/2.593, allocations: 1.651 MB / 1.328 GB, free: 72.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/2.593, allocations: 0 / 1.328 GB, free: 72.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/2.594, allocations: 1.011 MB / 1.329 GB, free: 71.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/2.596, allocations: 276.7 kB / 1.329 GB, free: 71.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/2.6, allocations: 1.839 MB / 1.331 GB, free: 69.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007173/2.6, allocations: 1.173 MB / 1.332 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001112/2.601, allocations: 330.9 kB / 1.332 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/2.602, allocations: 131.4 kB / 1.332 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.363e-06/2.602, allocations: 4 kB / 1.332 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.03588/2.638, allocations: 24.27 MB / 1.356 GB, free: 43.57 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