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.001185/0.001185, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001124, allocations: 190.1 kB / 16.25 MB, free: 6.621 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.18/1.18, allocations: 222.9 MB / 239.9 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 0.5769/0.5769, allocations: 91.19 MB / 381.3 MB, free: 9.531 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 81.06 kB / 459.9 MB, free: 23.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.103, allocations: 67.69 MB / 0.5152 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3603/0.4633, allocations: 190.4 MB / 0.7012 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005952/0.4693, allocations: 5.581 MB / 0.7066 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005031/0.4698, allocations: 39.75 kB / 0.7067 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008361/0.4706, allocations: 362 kB / 0.707 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.4734, allocations: 1.285 MB / 0.7083 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.475, allocations: 0.7595 MB / 0.709 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002998/0.4781, allocations: 2.668 MB / 0.7116 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.4784, allocations: 242.2 kB / 0.7118 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.4808, allocations: 1.87 MB / 0.7137 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006799/0.4815, allocations: 0.7159 MB / 0.7144 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.133e-05/0.4816, allocations: 72 kB / 0.7144 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.4836, allocations: 1.213 MB / 0.7156 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.4838, allocations: 191.2 kB / 0.7158 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.4841, allocations: 493.3 kB / 0.7163 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.486, allocations: 1.706 MB / 0.7179 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.486, allocations: 0 / 0.7179 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.486, allocations: 0 / 0.7179 GB, free: 268 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.4861, allocations: 0 / 0.7179 GB, free: 268 kB / 0.5137 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.002785/0.4888, allocations: 1.561 MB / 0.7195 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.4889, allocations: 8.031 kB / 0.7195 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.489, allocations: 106.5 kB / 0.7196 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009936/0.49, allocations: 182.6 kB / 0.7198 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.4908, allocations: 0.6544 MB / 0.7204 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.909e-05/0.4909, allocations: 82.94 kB / 0.7205 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.491, allocations: 67.91 kB / 0.7205 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.4924, allocations: 0.8116 MB / 0.7213 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4925, allocations: 0 / 0.7213 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.4925, allocations: 31.98 kB / 0.7214 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.4926, allocations: 16 kB / 0.7214 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.4942, allocations: 0.693 MB / 0.7221 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.4981, allocations: 3.625 MB / 0.7256 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.4998, allocations: 0.6937 MB / 0.7263 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007612/0.5005, allocations: 351.3 kB / 0.7266 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007996/0.5013, allocations: 0.4977 MB / 0.7271 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.5024, allocations: 0.5086 MB / 0.7276 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 1.913e-06/0.5024, allocations: 0 / 0.7276 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.003155/0.5056, allocations: 1.353 MB / 0.7289 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.5056, allocations: 89.09 kB / 0.729 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006403/0.5063, allocations: 0.6534 MB / 0.7296 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-05/0.5063, allocations: 45.69 kB / 0.7297 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.5066, allocations: 384.5 kB / 0.73 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.5068, allocations: 232.6 kB / 0.7303 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.507, allocations: 170.5 kB / 0.7304 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.5071, allocations: 334 kB / 0.7307 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.5079, allocations: 297.8 kB / 0.731 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/0.5087, allocations: 390.4 kB / 0.7314 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.5103, allocations: 0.739 MB / 0.7321 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5103, allocations: 0 / 0.7321 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002131/0.5124, allocations: 1.023 MB / 0.7331 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.5125, allocations: 63.41 kB / 0.7332 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.5125, allocations: 11.98 kB / 0.7332 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.5128, allocations: 89.66 kB / 0.7333 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/0.5135, allocations: 187.7 kB / 0.7335 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.5156, allocations: 3.058 MB / 0.7364 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.5162, allocations: 111.4 kB / 0.7366 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.5164, allocations: 79.98 kB / 0.7366 GB, free: 12.04 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.0002838/0.5167, allocations: 209.6 kB / 0.7368 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.5168, allocations: 86.88 kB / 0.7369 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/0.5205, allocations: 1.796 MB / 0.7387 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.5205, allocations: 11.94 kB / 0.7387 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5205, allocations: 0 / 0.7387 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.5205, allocations: 7.984 kB / 0.7387 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.5237, allocations: 1.945 MB / 0.7406 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.5238, allocations: 11.98 kB / 0.7406 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.5244, allocations: 171.9 kB / 0.7408 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.5247, allocations: 85.55 kB / 0.7408 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.5248, allocations: 39.97 kB / 0.7409 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.5268, allocations: 3.066 MB / 0.7439 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5268, allocations: 0 / 0.7439 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.5297, allocations: 1.468 MB / 0.7453 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.53, allocations: 247.8 kB / 0.7455 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.5302, allocations: 20 kB / 0.7456 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.5308, allocations: 59.83 kB / 0.7456 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.531, allocations: 111.9 kB / 0.7457 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.5311, allocations: 75.97 kB / 0.7458 GB, free: 2.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004596/0.5316, allocations: 467 kB / 0.7462 GB, free: 1.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.193e-06/0.5316, allocations: 0 / 0.7462 GB, free: 1.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009192/0.5325, allocations: 351.4 kB / 0.7466 GB, free: 1.414 MB / 0.545 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.003876/0.5364, allocations: 2.339 MB / 0.7489 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00233/0.5388, allocations: 1.249 MB / 0.7501 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5388, allocations: 0 / 0.7501 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.5401, allocations: 0.7851 MB / 0.7508 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.5412, allocations: 267 kB / 0.7511 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.5525, allocations: 7.872 MB / 0.7588 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.5529, allocations: 0.9668 MB / 0.7597 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001813/0.5548, allocations: 0.9948 MB / 0.7607 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000785/0.5555, allocations: 443.2 kB / 0.7611 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.5556, allocations: 0 / 0.7611 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0418/0.5974, allocations: 25.84 MB / 0.7864 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.5976, allocations: 280.4 kB / 0.7866 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.021, allocations: 0 / 0.7866 GB, free: 8.176 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/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