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.0008649/0.0008649, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005508/0.005508, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5384/0.5384, allocations: 89.64 MB / 381.1 MB, free: 11.37 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 13.53 kB / 460.8 MB, free: 24.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1014, allocations: 68.83 MB / 0.5172 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3511/0.4525, allocations: 187.7 MB / 0.7004 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005919/0.4585, allocations: 5.504 MB / 0.7058 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005564/0.4591, allocations: 15.88 kB / 0.7058 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.4599, allocations: 350.1 kB / 0.7062 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.4626, allocations: 1.205 MB / 0.7074 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.4641, allocations: 0.7243 MB / 0.7081 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003292/0.4674, allocations: 2.871 MB / 0.7109 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.4677, allocations: 211.2 kB / 0.7111 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.4701, allocations: 1.7 MB / 0.7127 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007726/0.4709, allocations: 0.6498 MB / 0.7134 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.41e-05/0.471, allocations: 36 kB / 0.7134 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.4729, allocations: 1.092 MB / 0.7145 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.473, allocations: 143.2 kB / 0.7146 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.4734, allocations: 435.4 kB / 0.715 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.475, allocations: 1.546 MB / 0.7165 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.475, allocations: 0 / 0.7165 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.475, allocations: 0 / 0.7165 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.475, allocations: 4 kB / 0.7165 GB, free: 15.5 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.002511/0.4775, allocations: 1.304 MB / 0.7178 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.4776, allocations: 8.031 kB / 0.7178 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.4777, allocations: 102.5 kB / 0.7179 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.4786, allocations: 166.9 kB / 0.7181 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.4792, allocations: 0.4982 MB / 0.7185 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.4793, allocations: 75.02 kB / 0.7186 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.4794, allocations: 64 kB / 0.7187 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.4809, allocations: 0.8467 MB / 0.7195 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.4809, allocations: 3.906 kB / 0.7195 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-05/0.481, allocations: 24 kB / 0.7195 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.481, allocations: 16 kB / 0.7195 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.4828, allocations: 0.7672 MB / 0.7203 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.4868, allocations: 3.617 MB / 0.7238 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.4885, allocations: 0.7581 MB / 0.7246 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008237/0.4894, allocations: 377.8 kB / 0.7249 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008068/0.4902, allocations: 0.5251 MB / 0.7254 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.4912, allocations: 0.5476 MB / 0.726 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 1.753e-06/0.4912, allocations: 0 / 0.726 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.003261/0.4945, allocations: 1.433 MB / 0.7274 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4946, allocations: 89.05 kB / 0.7275 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.4951, allocations: 0.5303 MB / 0.728 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.022e-05/0.4952, allocations: 41.7 kB / 0.728 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.4954, allocations: 324.5 kB / 0.7283 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.4956, allocations: 228.7 kB / 0.7285 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.4957, allocations: 65.67 kB / 0.7286 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4958, allocations: 378.7 kB / 0.729 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008165/0.4966, allocations: 333.8 kB / 0.7293 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008524/0.4975, allocations: 430.3 kB / 0.7297 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.4992, allocations: 0.8054 MB / 0.7305 GB, free: 436 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4992, allocations: 0 / 0.7305 GB, free: 436 kB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002196/0.5014, allocations: 1.081 MB / 0.7315 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.5014, allocations: 63.39 kB / 0.7316 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.5015, allocations: 12.94 kB / 0.7316 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/0.5017, allocations: 81.64 kB / 0.7317 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.5024, allocations: 207.8 kB / 0.7319 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.5044, allocations: 2.846 MB / 0.7347 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.505, allocations: 123.4 kB / 0.7348 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5051, allocations: 79.98 kB / 0.7349 GB, free: 11.63 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.0002613/0.5054, allocations: 193.7 kB / 0.7351 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5055, allocations: 82.98 kB / 0.7351 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/0.5092, allocations: 1.848 MB / 0.7369 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5093, allocations: 8 kB / 0.7369 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5093, allocations: 4 kB / 0.7369 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5093, allocations: 3.984 kB / 0.7369 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.5125, allocations: 1.984 MB / 0.7389 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.5126, allocations: 8.094 kB / 0.7389 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/0.5132, allocations: 187.8 kB / 0.7391 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/0.5134, allocations: 85.62 kB / 0.7392 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.5135, allocations: 43.97 kB / 0.7392 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.5154, allocations: 2.869 MB / 0.742 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5154, allocations: 4.031 kB / 0.742 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.5184, allocations: 1.554 MB / 0.7435 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.5186, allocations: 239.9 kB / 0.7437 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.5188, allocations: 16 kB / 0.7438 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/0.5194, allocations: 87.83 kB / 0.7438 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.5196, allocations: 107.9 kB / 0.744 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-05/0.5197, allocations: 75.97 kB / 0.744 GB, free: 1.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003674/0.5201, allocations: 370.8 kB / 0.7444 GB, free: 1.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5201, allocations: 0 / 0.7444 GB, free: 1.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007775/0.5209, allocations: 335.6 kB / 0.7447 GB, free: 1.152 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.003972/0.5248, allocations: 2.427 MB / 0.7471 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002265/0.5271, allocations: 1.273 MB / 0.7483 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5271, allocations: 0 / 0.7483 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.5284, allocations: 0.8433 MB / 0.7491 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.5296, allocations: 236.2 kB / 0.7494 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.5402, allocations: 7.454 MB / 0.7566 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.5406, allocations: 0.9234 MB / 0.7575 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001726/0.5424, allocations: 0.9744 MB / 0.7585 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006884/0.5431, allocations: 375.2 kB / 0.7589 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.5431, allocations: 4 kB / 0.7589 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.368/2.911, allocations: 23.29 MB / 0.7816 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/2.912, allocations: 286 kB / 0.7819 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/6.415, allocations: 2.531 kB / 0.7819 GB, free: 10.93 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