Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.001675/0.001675, allocations: 108 kB / 15.61 MB, free: 152 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.001564/0.001565, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.815/1.815, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.04/1.04, allocations: 91.21 MB / 381.6 MB, free: 9.406 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001536, allocations: 78.03 kB / 460.4 MB, free: 23.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1598, allocations: 67.7 MB / 0.5157 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.7451/0.905, allocations: 192.4 MB / 0.7036 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.9175, allocations: 5.539 MB / 0.709 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.9195, allocations: 35.75 kB / 0.709 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.922, allocations: 409.2 kB / 0.7094 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006604/0.9286, allocations: 1.409 MB / 0.7108 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.9323, allocations: 0.833 MB / 0.7116 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007196/0.9395, allocations: 2.648 MB / 0.7142 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007218/0.9403, allocations: 233.3 kB / 0.7144 GB, free: 4 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005208/0.9455, allocations: 1.824 MB / 0.7162 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.9475, allocations: 0.7042 MB / 0.7169 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007198/0.9483, allocations: 72 kB / 0.717 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00464/0.9529, allocations: 1.174 MB / 0.7181 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005571/0.9535, allocations: 199.1 kB / 0.7183 GB, free: 24 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.9548, allocations: 481.4 kB / 0.7188 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005419/0.9602, allocations: 1.694 MB / 0.7204 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9603, allocations: 4 kB / 0.7204 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.245e-06/0.9603, allocations: 0 / 0.7204 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.777e-05/0.9603, allocations: 0 / 0.7204 GB, free: 13.85 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005267/0.9656, allocations: 1.557 MB / 0.7219 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.9657, allocations: 8.031 kB / 0.7219 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/0.9659, allocations: 106.5 kB / 0.722 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.9675, allocations: 182.6 kB / 0.7222 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.9692, allocations: 0.6582 MB / 0.7229 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.9694, allocations: 82.95 kB / 0.7229 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.9696, allocations: 67.89 kB / 0.723 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.9718, allocations: 0.8116 MB / 0.7238 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.9719, allocations: 7.984 kB / 0.7238 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/0.972, allocations: 24 kB / 0.7238 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.972, allocations: 16 kB / 0.7238 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.9744, allocations: 0.6969 MB / 0.7245 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006853/0.9812, allocations: 3.624 MB / 0.7281 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.9837, allocations: 0.7034 MB / 0.7288 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.9849, allocations: 351.3 kB / 0.7291 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.9861, allocations: 0.4899 MB / 0.7296 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.9876, allocations: 0.5125 MB / 0.7301 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 4.097e-06/0.9876, allocations: 0 / 0.7301 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.004798/0.9924, allocations: 1.362 MB / 0.7314 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/0.9925, allocations: 89.09 kB / 0.7315 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.9938, allocations: 0.6534 MB / 0.7321 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.994, allocations: 37.7 kB / 0.7322 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.9944, allocations: 388.5 kB / 0.7325 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.9947, allocations: 232.6 kB / 0.7327 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/0.9952, allocations: 170.5 kB / 0.7329 GB, free: 364 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.9954, allocations: 338 kB / 0.7332 GB, free: 20 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.9964, allocations: 285.8 kB / 0.7335 GB, free: 15.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.9976, allocations: 398.3 kB / 0.7339 GB, free: 15.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.9997, allocations: 0.7351 MB / 0.7346 GB, free: 14.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.9998, allocations: 4 kB / 0.7346 GB, free: 14.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003275/1.003, allocations: 1.026 MB / 0.7356 GB, free: 13.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/1.003, allocations: 59.41 kB / 0.7357 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.778e-05/1.003, allocations: 12.2 kB / 0.7357 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/1.004, allocations: 89.59 kB / 0.7358 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/1.005, allocations: 191.7 kB / 0.7359 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/1.008, allocations: 3.058 MB / 0.7389 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.01, allocations: 103.3 kB / 0.739 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/1.01, allocations: 79.98 kB / 0.7391 GB, free: 9.602 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 69 * 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.0007644/1.011, allocations: 209.7 kB / 0.7393 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/1.011, allocations: 86.88 kB / 0.7394 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005221/1.016, allocations: 1.782 MB / 0.7411 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/1.016, allocations: 11.94 kB / 0.7411 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.016, allocations: 15.92 kB / 0.7412 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.016, allocations: 0 / 0.7412 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00498/1.021, allocations: 1.947 MB / 0.7431 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/1.021, allocations: 7.984 kB / 0.7431 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/1.022, allocations: 167.8 kB / 0.7432 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004068/1.022, allocations: 89.64 kB / 0.7433 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/1.023, allocations: 39.97 kB / 0.7433 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/1.026, allocations: 3.066 MB / 0.7463 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.026, allocations: 0 / 0.7463 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/1.03, allocations: 1.472 MB / 0.7478 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006883/1.031, allocations: 243.8 kB / 0.748 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/1.031, allocations: 20 kB / 0.748 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008211/1.032, allocations: 52.02 kB / 0.7481 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/1.032, allocations: 111.9 kB / 0.7482 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.032, allocations: 75.98 kB / 0.7483 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008747/1.033, allocations: 467 kB / 0.7487 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.984e-06/1.033, allocations: 0 / 0.7487 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001699/1.035, allocations: 351.4 kB / 0.749 GB, free: 14.99 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * 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.005949/1.041, allocations: 2.34 MB / 0.7513 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003636/1.045, allocations: 1.253 MB / 0.7526 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.045, allocations: 0 / 0.7526 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/1.046, allocations: 0.7967 MB / 0.7533 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/1.049, allocations: 250.6 kB / 0.7536 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/1.068, allocations: 7.562 MB / 0.761 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008381/1.069, allocations: 0.9707 MB / 0.7619 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002685/1.072, allocations: 0.9992 MB / 0.7629 GB, free: 376 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/1.073, allocations: 447.2 kB / 0.7633 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of SimCode: time 1.843e-06/1.073, allocations: 0 / 0.7633 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08341/1.157, allocations: 26.26 MB / 0.7889 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/12.15, allocations: 10.47 kB / 0.789 GB, free: 5.953 MB / 0.5919 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Undirected.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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches