Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.00126, allocations: 175.4 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.4 MB / 222.3 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009387/0.0009388, allocations: 86.36 kB / 270.6 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8626/0.8626, allocations: 89.58 MB / 408.5 MB, free: 4.516 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 12.22 kB / 485.2 MB, free: 7.668 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3664, allocations: 66.01 MB / 0.5383 GB, free: 34.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.668/2.034, allocations: 0.7501 GB / 1.288 GB, free: 86.19 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/2.035, allocations: 79.95 kB / 1.288 GB, free: 86.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.852/2.887, allocations: 285.8 MB / 1.568 GB, free: 40.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.274e-06/2.887, allocations: 0 / 1.568 GB, free: 40.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.729e-05/2.887, allocations: 15.94 kB / 1.568 GB, free: 40.25 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00406/2.891, allocations: 1.522 MB / 1.569 GB, free: 38.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/2.891, allocations: 8.031 kB / 1.569 GB, free: 38.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/2.892, allocations: 148 kB / 1.569 GB, free: 38.51 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/2.892, allocations: 429.8 kB / 1.57 GB, free: 38.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/2.892, allocations: 42.11 kB / 1.57 GB, free: 38.01 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/2.893, allocations: 52 kB / 1.57 GB, free: 37.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/2.894, allocations: 0.5996 MB / 1.57 GB, free: 37.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/2.894, allocations: 0 / 1.57 GB, free: 37.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/2.894, allocations: 16 kB / 1.57 GB, free: 37.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/2.894, allocations: 19.92 kB / 1.57 GB, free: 37.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000922/2.895, allocations: 496.1 kB / 1.571 GB, free: 36.83 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/2.897, allocations: 2.474 MB / 1.573 GB, free: 34.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/2.898, allocations: 0.5115 MB / 1.574 GB, free: 33.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/2.899, allocations: 272.2 kB / 1.574 GB, free: 33.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/2.9, allocations: 1.399 MB / 1.575 GB, free: 31.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006611/2.901, allocations: 436 kB / 1.576 GB, free: 31.26 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=58): time 3.376e-06/2.901, allocations: 0 / 1.576 GB, free: 31.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=58): time 0.002226/2.903, allocations: 1.107 MB / 1.577 GB, free: 30.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/2.903, allocations: 89.05 kB / 1.577 GB, free: 30 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/2.903, allocations: 393.8 kB / 1.577 GB, free: 29.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/2.903, allocations: 37.7 kB / 1.577 GB, free: 29.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/2.904, allocations: 253 kB / 1.578 GB, free: 29.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/2.904, allocations: 197.2 kB / 1.578 GB, free: 29.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/2.904, allocations: 12 kB / 1.578 GB, free: 29.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/2.904, allocations: 362.7 kB / 1.578 GB, free: 28.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/2.904, allocations: 225.1 kB / 1.578 GB, free: 28.51 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/2.905, allocations: 295.2 kB / 1.579 GB, free: 28.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009196/2.906, allocations: 0.5649 MB / 1.579 GB, free: 27.61 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/2.906, allocations: 0 / 1.579 GB, free: 27.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001412/2.907, allocations: 0.8151 MB / 1.58 GB, free: 26.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/2.907, allocations: 63.39 kB / 1.58 GB, free: 26.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.405e-05/2.907, allocations: 15.98 kB / 1.58 GB, free: 26.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/2.908, allocations: 81.61 kB / 1.58 GB, free: 26.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/2.908, allocations: 131.8 kB / 1.58 GB, free: 26.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/2.91, allocations: 2.838 MB / 1.583 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/2.91, allocations: 71.55 kB / 1.583 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/2.91, allocations: 68.22 kB / 1.583 GB, free: 23.22 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.sawTooth.T_start,sawTooth.T_start,$PRE.sawTooth.count,sawTooth.count,$whenCondition1,$PRE.sawTooth1.T_start,sawTooth1.T_start,$PRE.sawTooth1.count,sawTooth1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003118/2.911, allocations: 198.6 kB / 1.583 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/2.911, allocations: 51.34 kB / 1.583 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/2.913, allocations: 0.9644 MB / 1.584 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/2.913, allocations: 4 kB / 1.584 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/2.913, allocations: 7.938 kB / 1.584 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/2.913, allocations: 3.984 kB / 1.584 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/2.915, allocations: 1.591 MB / 1.586 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.51e-05/2.915, allocations: 19.97 kB / 1.586 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/2.916, allocations: 119.9 kB / 1.586 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/2.916, allocations: 81.58 kB / 1.586 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/2.916, allocations: 35.97 kB / 1.586 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/2.918, allocations: 2.842 MB / 1.589 GB, free: 16.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.918, allocations: 3.938 kB / 1.589 GB, free: 16.94 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/2.92, allocations: 1.199 MB / 1.59 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/2.92, allocations: 204.2 kB / 1.59 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/2.92, allocations: 15.94 kB / 1.59 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/2.92, allocations: 47.89 kB / 1.59 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/2.921, allocations: 99.81 kB / 1.59 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-05/2.921, allocations: 71.97 kB / 1.59 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002732/2.921, allocations: 267.1 kB / 1.591 GB, free: 15 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.3e-07/2.921, allocations: 0 / 1.591 GB, free: 15 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002455/2.923, allocations: 0.6007 MB / 1.591 GB, free: 14.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002886/2.926, allocations: 1.568 MB / 1.593 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001939/2.928, allocations: 1.096 MB / 1.594 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/2.928, allocations: 0 / 1.594 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/2.929, allocations: 0.7377 MB / 1.595 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/2.931, allocations: 169.7 kB / 1.595 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/2.934, allocations: 1.601 MB / 1.596 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/2.935, allocations: 0.8757 MB / 1.597 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001129/2.936, allocations: 183.5 kB / 1.597 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/2.936, allocations: 95.39 kB / 1.597 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of SimCode: time 1.442e-06/2.936, allocations: 3.938 kB / 1.597 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of Templates: time 0.3742/3.31, allocations: 29.77 MB / 1.627 GB, free: 118.2 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches