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.001957/0.001957, 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.001848/0.001848, allocations: 194.2 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.586/1.586, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8039/0.8039, 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.002413/0.002414, allocations: 78.03 kB / 463.5 MB, free: 22.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1565, 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.5346/0.6911, allocations: 189.2 MB / 0.7041 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.7016, allocations: 7.351 MB / 0.7113 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.7029, allocations: 35.75 kB / 0.7113 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.7042, allocations: 373.4 kB / 0.7117 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.7086, allocations: 1.304 MB / 0.7129 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.7106, allocations: 0.6617 MB / 0.7136 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004129/0.7147, allocations: 2.418 MB / 0.7159 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.7151, allocations: 203.7 kB / 0.7161 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.7181, allocations: 1.625 MB / 0.7177 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008178/0.7189, allocations: 0.5836 MB / 0.7183 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.719, allocations: 59.94 kB / 0.7183 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.7218, allocations: 1.105 MB / 0.7194 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.722, allocations: 159.2 kB / 0.7196 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.7225, allocations: 405.7 kB / 0.72 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.7249, allocations: 1.449 MB / 0.7214 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.725, allocations: 7.922 kB / 0.7214 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.795e-06/0.725, allocations: 0 / 0.7214 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.097e-05/0.725, allocations: 0 / 0.7214 GB, free: 11.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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003018/0.728, allocations: 1.372 MB / 0.7227 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.7281, allocations: 12.03 kB / 0.7227 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.7282, allocations: 82.52 kB / 0.7228 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009914/0.7292, allocations: 170.7 kB / 0.723 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.7303, allocations: 0.6194 MB / 0.7236 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.7303, allocations: 37 kB / 0.7236 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.7304, allocations: 48 kB / 0.7237 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.7317, allocations: 0.5819 MB / 0.7242 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.7317, allocations: 11.92 kB / 0.7242 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.411e-05/0.7318, allocations: 24.88 kB / 0.7243 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.7318, allocations: 12 kB / 0.7243 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.733, allocations: 456.2 kB / 0.7247 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004004/0.737, allocations: 2.7 MB / 0.7274 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.7382, allocations: 462.3 kB / 0.7278 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.7388, allocations: 242.5 kB / 0.728 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/0.7392, allocations: 263.3 kB / 0.7283 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000836/0.74, allocations: 402.2 kB / 0.7287 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 3.055e-06/0.74, allocations: 0 / 0.7287 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002826/0.7429, allocations: 1.037 MB / 0.7297 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/0.743, allocations: 93.05 kB / 0.7298 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008006/0.7438, allocations: 0.5943 MB / 0.7303 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.7439, allocations: 37.7 kB / 0.7304 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.7442, allocations: 344.9 kB / 0.7307 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.7444, allocations: 181.4 kB / 0.7309 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.7447, allocations: 138.1 kB / 0.731 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.7449, allocations: 326 kB / 0.7313 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/0.7455, allocations: 193 kB / 0.7315 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.7461, allocations: 267.5 kB / 0.7318 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.7473, allocations: 0.5081 MB / 0.7323 GB, free: 88 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7473, allocations: 0 / 0.7323 GB, free: 88 kB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001827/0.7491, allocations: 0.771 MB / 0.733 GB, free: 15.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/0.7492, allocations: 71.33 kB / 0.7331 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.514e-05/0.7493, allocations: 19.92 kB / 0.7331 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/0.7496, allocations: 93.67 kB / 0.7332 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.7502, allocations: 119.9 kB / 0.7333 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/0.753, allocations: 3.048 MB / 0.7363 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.7535, allocations: 71.5 kB / 0.7363 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.7537, allocations: 63.98 kB / 0.7364 GB, free: 11.52 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.000337/0.754, allocations: 197.5 kB / 0.7366 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.7542, allocations: 79 kB / 0.7367 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/0.7574, allocations: 1.294 MB / 0.7379 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.7574, allocations: 11.98 kB / 0.7379 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7575, allocations: 8 kB / 0.738 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.7575, allocations: 0 / 0.738 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.7604, allocations: 1.586 MB / 0.7395 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/0.7605, allocations: 15.92 kB / 0.7395 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.761, allocations: 115.9 kB / 0.7396 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/0.7613, allocations: 93.62 kB / 0.7397 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.7614, allocations: 31.98 kB / 0.7397 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.7641, allocations: 3.057 MB / 0.7427 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7641, allocations: 0 / 0.7427 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.7665, allocations: 1.132 MB / 0.7438 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.7668, allocations: 215.9 kB / 0.744 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.7669, allocations: 24 kB / 0.7441 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.7674, allocations: 31.95 kB / 0.7441 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.7677, allocations: 95.83 kB / 0.7442 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.7678, allocations: 59.98 kB / 0.7442 GB, free: 3.055 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005519/0.7683, allocations: 419 kB / 0.7446 GB, free: 2.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7683, allocations: 3.938 kB / 0.7446 GB, free: 2.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009753/0.7693, allocations: 307.5 kB / 0.7449 GB, free: 2.348 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.00364/0.773, allocations: 1.99 MB / 0.7469 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.775, allocations: 0.9991 MB / 0.7479 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7751, allocations: 4 kB / 0.7479 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.7763, allocations: 0.66 MB / 0.7485 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.7774, allocations: 224.7 kB / 0.7487 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.7883, allocations: 6.335 MB / 0.7549 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.7889, allocations: 0.9387 MB / 0.7558 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001578/0.7905, allocations: 0.6758 MB / 0.7565 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/0.7913, allocations: 367.2 kB / 0.7568 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of SimCode: time 4.5e-07/0.7913, allocations: 3.938 kB / 0.7568 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08646/0.8777, allocations: 22.86 MB / 0.7792 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.39, allocations: 9.781 kB / 0.7792 GB, free: 15.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/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