Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.conf.json 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/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002553/0.002553, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9244/0.9244, allocations: 93.72 MB / 384.1 MB, free: 6.965 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003568/0.003568, allocations: 81.5 kB / 463.5 MB, free: 21.97 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2176, allocations: 68.26 MB / 0.5193 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.7312/0.9489, allocations: 189.2 MB / 0.7041 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.96, allocations: 7.348 MB / 0.7113 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.9613, allocations: 35.81 kB / 0.7113 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.9626, allocations: 373.4 kB / 0.7117 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005101/0.9677, allocations: 1.309 MB / 0.7129 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.9701, allocations: 0.6578 MB / 0.7136 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005589/0.9757, allocations: 2.414 MB / 0.7159 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005585/0.9763, allocations: 203.7 kB / 0.7161 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004704/0.9811, allocations: 1.625 MB / 0.7177 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.9824, allocations: 0.5875 MB / 0.7183 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.9826, allocations: 59.94 kB / 0.7183 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.9863, allocations: 1.105 MB / 0.7194 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.9865, allocations: 155.2 kB / 0.7196 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007425/0.9873, allocations: 409.7 kB / 0.72 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004125/0.9914, allocations: 1.453 MB / 0.7214 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9915, allocations: 0 / 0.7214 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.176e-06/0.9915, allocations: 0 / 0.7214 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.9915, allocations: 0 / 0.7214 GB, free: 11.73 MB / 0.5294 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.003671/0.9952, allocations: 1.377 MB / 0.7227 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.9952, allocations: 12.03 kB / 0.7227 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.9954, allocations: 87.39 kB / 0.7228 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.9964, allocations: 158.8 kB / 0.723 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.9977, allocations: 0.6155 MB / 0.7236 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.9977, allocations: 44.98 kB / 0.7236 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.998, allocations: 48 kB / 0.7237 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.9993, allocations: 0.5818 MB / 0.7242 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.9993, allocations: 4 kB / 0.7242 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.9994, allocations: 20 kB / 0.7243 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.9994, allocations: 19.98 kB / 0.7243 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/1.001, allocations: 460.1 kB / 0.7247 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004384/1.005, allocations: 2.697 MB / 0.7273 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/1.006, allocations: 454.4 kB / 0.7278 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/1.007, allocations: 242.5 kB / 0.728 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003682/1.007, allocations: 267.3 kB / 0.7283 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008707/1.008, allocations: 406.2 kB / 0.7287 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 2.454e-06/1.008, allocations: 0 / 0.7287 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.00304/1.011, allocations: 1.041 MB / 0.7297 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/1.011, allocations: 93.09 kB / 0.7298 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/1.012, allocations: 0.5943 MB / 0.7303 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.646e-05/1.012, allocations: 37.7 kB / 0.7304 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/1.013, allocations: 344.9 kB / 0.7307 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/1.013, allocations: 177.5 kB / 0.7309 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/1.013, allocations: 138.1 kB / 0.731 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.013, allocations: 334 kB / 0.7313 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/1.014, allocations: 189 kB / 0.7315 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/1.015, allocations: 266.6 kB / 0.7318 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/1.016, allocations: 0.5119 MB / 0.7323 GB, free: 15.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.016, allocations: 1.875 kB / 0.7323 GB, free: 15.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001923/1.018, allocations: 0.775 MB / 0.733 GB, free: 15.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/1.018, allocations: 63.34 kB / 0.7331 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/1.018, allocations: 15.98 kB / 0.7331 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/1.018, allocations: 89.7 kB / 0.7332 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/1.019, allocations: 119.9 kB / 0.7333 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/1.022, allocations: 3.058 MB / 0.7363 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/1.023, allocations: 67.41 kB / 0.7363 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/1.023, allocations: 64.05 kB / 0.7364 GB, free: 11.39 MB / 0.545 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 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004182/1.023, allocations: 197.5 kB / 0.7366 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/1.023, allocations: 79 kB / 0.7367 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/1.027, allocations: 1.303 MB / 0.7379 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.027, allocations: 7.938 kB / 0.7379 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.027, allocations: 4 kB / 0.7379 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/1.027, allocations: 11.92 kB / 0.738 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/1.03, allocations: 1.583 MB / 0.7395 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-05/1.03, allocations: 11.98 kB / 0.7395 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/1.03, allocations: 115.9 kB / 0.7396 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/1.031, allocations: 89.7 kB / 0.7397 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-05/1.031, allocations: 35.91 kB / 0.7397 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003209/1.034, allocations: 3.061 MB / 0.7427 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.034, allocations: 0 / 0.7427 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/1.037, allocations: 1.136 MB / 0.7438 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/1.037, allocations: 220 kB / 0.7441 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.037, allocations: 16 kB / 0.7441 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/1.038, allocations: 31.97 kB / 0.7441 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/1.038, allocations: 87.88 kB / 0.7442 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.038, allocations: 63.98 kB / 0.7442 GB, free: 2.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005851/1.039, allocations: 423 kB / 0.7446 GB, free: 2.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.039, allocations: 0 / 0.7446 GB, free: 2.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001083/1.04, allocations: 303.5 kB / 0.7449 GB, free: 2.234 MB / 0.545 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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003854/1.044, allocations: 1.984 MB / 0.7469 GB, free: 228 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002345/1.046, allocations: 0.9989 MB / 0.7479 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.046, allocations: 4.25 kB / 0.7479 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.047, allocations: 0.6638 MB / 0.7485 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.048, allocations: 223.7 kB / 0.7487 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/1.061, allocations: 6.334 MB / 0.7549 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/1.062, allocations: 0.9387 MB / 0.7558 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00182/1.064, allocations: 0.6835 MB / 0.7565 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/1.064, allocations: 367.2 kB / 0.7568 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of SimCode: time 1.422e-06/1.064, allocations: 3.938 kB / 0.7568 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09688/1.161, allocations: 22.87 MB / 0.7792 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.39, allocations: 7.812 kB / 0.7792 GB, free: 15.06 MB / 0.5919 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.csv --start-time 0 --stop-time 2.5 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0025 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches