Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_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.00167/0.00167, 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.001907/0.001908, allocations: 195 kB / 16.53 MB, free: 6.699 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.952/1.952, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.189/1.189, allocations: 93.71 MB / 384.1 MB, free: 6.961 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00358/0.00358, allocations: 82.2 kB / 463.5 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.194, allocations: 68.26 MB / 0.5193 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.7289/0.923, allocations: 192.4 MB / 0.7072 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.9335, allocations: 5.547 MB / 0.7126 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.9349, allocations: 35.81 kB / 0.7126 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.9364, allocations: 409.2 kB / 0.713 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00545/0.9419, allocations: 1.424 MB / 0.7144 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.945, allocations: 0.8252 MB / 0.7152 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005551/0.9506, allocations: 2.672 MB / 0.7178 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007866/0.9514, allocations: 239 kB / 0.718 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004785/0.9562, allocations: 1.839 MB / 0.7198 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.9577, allocations: 0.7003 MB / 0.7205 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.958, allocations: 72 kB / 0.7206 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003843/0.9618, allocations: 1.178 MB / 0.7217 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.9621, allocations: 191.2 kB / 0.7219 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007854/0.9629, allocations: 497.2 kB / 0.7224 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005257/0.9682, allocations: 1.691 MB / 0.7241 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.9683, allocations: 8 kB / 0.7241 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9683, allocations: 0 / 0.7241 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.508e-05/0.9683, allocations: 0 / 0.7241 GB, free: 9.109 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.004925/0.9732, allocations: 1.567 MB / 0.7256 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.9733, allocations: 8.031 kB / 0.7256 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003922/0.9737, allocations: 106.5 kB / 0.7257 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.9751, allocations: 190.6 kB / 0.7259 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.9773, allocations: 0.666 MB / 0.7265 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.9775, allocations: 86.89 kB / 0.7266 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.9777, allocations: 67.92 kB / 0.7267 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.98, allocations: 0.8 MB / 0.7275 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.9801, allocations: 3.938 kB / 0.7275 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-05/0.9802, allocations: 28 kB / 0.7275 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.9802, allocations: 16 kB / 0.7275 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.9828, allocations: 0.693 MB / 0.7282 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007368/0.9902, allocations: 3.637 MB / 0.7317 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.9927, allocations: 0.6971 MB / 0.7324 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009699/0.9937, allocations: 351.4 kB / 0.7328 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.9948, allocations: 0.4899 MB / 0.7332 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/0.9963, allocations: 0.5087 MB / 0.7337 GB, free: 14.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=69): time 5.51e-06/0.9963, allocations: 0 / 0.7337 GB, free: 14.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=69): time 0.004464/1.001, allocations: 1.366 MB / 0.7351 GB, free: 13.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/1.001, allocations: 89.09 kB / 0.7351 GB, free: 13.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/1.002, allocations: 0.6651 MB / 0.7358 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.857e-05/1.002, allocations: 37.7 kB / 0.7358 GB, free: 12.37 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/1.003, allocations: 396.5 kB / 0.7362 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00047/1.003, allocations: 224.8 kB / 0.7364 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003567/1.004, allocations: 170.5 kB / 0.7366 GB, free: 11.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000186/1.004, allocations: 333.9 kB / 0.7369 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009507/1.005, allocations: 289.8 kB / 0.7372 GB, free: 10.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/1.006, allocations: 398.3 kB / 0.7376 GB, free: 10.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/1.008, allocations: 0.7351 MB / 0.7383 GB, free: 9.762 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/1.008, allocations: 8 kB / 0.7383 GB, free: 9.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003135/1.011, allocations: 1.026 MB / 0.7393 GB, free: 8.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.801e-05/1.011, allocations: 59.41 kB / 0.7393 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.136e-05/1.012, allocations: 12.2 kB / 0.7394 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/1.012, allocations: 93.53 kB / 0.7394 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/1.013, allocations: 191.7 kB / 0.7396 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003504/1.016, allocations: 3.054 MB / 0.7426 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.018, allocations: 99.22 kB / 0.7427 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/1.018, allocations: 83.91 kB / 0.7428 GB, free: 4.82 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.0005747/1.018, allocations: 209.7 kB / 0.743 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/1.019, allocations: 86.97 kB / 0.7431 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/1.024, allocations: 1.788 MB / 0.7448 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/1.024, allocations: 15.88 kB / 0.7448 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/1.024, allocations: 4 kB / 0.7448 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/1.024, allocations: 15.92 kB / 0.7449 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/1.029, allocations: 1.959 MB / 0.7468 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.967e-05/1.029, allocations: 11.98 kB / 0.7468 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/1.03, allocations: 167.8 kB / 0.7469 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003381/1.03, allocations: 81.73 kB / 0.747 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.161e-05/1.03, allocations: 43.97 kB / 0.7471 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/1.034, allocations: 3.066 MB / 0.75 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.034, allocations: 4.031 kB / 0.7501 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004196/1.038, allocations: 1.465 MB / 0.7515 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005369/1.039, allocations: 247.8 kB / 0.7517 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/1.039, allocations: 12 kB / 0.7517 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/1.039, allocations: 63.88 kB / 0.7518 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/1.04, allocations: 115.9 kB / 0.7519 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.04, allocations: 71.98 kB / 0.752 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007345/1.041, allocations: 467 kB / 0.7524 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/1.041, allocations: 0 / 0.7524 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001416/1.042, allocations: 351.4 kB / 0.7528 GB, free: 10.19 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.005384/1.048, allocations: 2.336 MB / 0.755 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003596/1.051, allocations: 1.237 MB / 0.7562 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.051, allocations: 0 / 0.7562 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/1.053, allocations: 0.7889 MB / 0.757 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/1.055, allocations: 262 kB / 0.7573 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/1.072, allocations: 7.62 MB / 0.7647 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.073, allocations: 0.9708 MB / 0.7657 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002622/1.076, allocations: 0.9913 MB / 0.7666 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.077, allocations: 451.1 kB / 0.767 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of SimCode: time 2.354e-06/1.077, allocations: 4 kB / 0.7671 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08955/1.167, allocations: 26.37 MB / 0.7928 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.48, allocations: 15.66 kB / 0.7928 GB, free: 1.004 MB / 0.5919 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches