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.002372/0.002372, 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.002918/0.002918, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.779/1.779, 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.011/1.011, allocations: 91.2 MB / 381.6 MB, free: 9.383 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 80.72 kB / 460.4 MB, free: 23.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2358, allocations: 67.7 MB / 0.5157 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.8831/1.119, allocations: 192.4 MB / 0.7036 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01025/1.129, allocations: 5.523 MB / 0.709 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/1.131, allocations: 31.81 kB / 0.709 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/1.133, allocations: 421.1 kB / 0.7094 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006419/1.14, allocations: 1.42 MB / 0.7108 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003419/1.143, allocations: 0.8252 MB / 0.7116 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006035/1.149, allocations: 2.641 MB / 0.7142 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006378/1.15, allocations: 244.1 kB / 0.7144 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004652/1.154, allocations: 1.827 MB / 0.7162 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/1.156, allocations: 0.7004 MB / 0.7169 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/1.156, allocations: 79.92 kB / 0.717 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/1.16, allocations: 1.174 MB / 0.7181 GB, free: 160 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/1.161, allocations: 183.3 kB / 0.7183 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006572/1.161, allocations: 493.2 kB / 0.7188 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004793/1.166, allocations: 1.698 MB / 0.7204 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/1.166, allocations: 0 / 0.7204 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.649e-06/1.166, allocations: 4 kB / 0.7204 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.318e-05/1.166, allocations: 0 / 0.7204 GB, free: 13.79 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.004559/1.171, allocations: 1.553 MB / 0.7219 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.381e-05/1.171, allocations: 12.03 kB / 0.722 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/1.171, allocations: 106.5 kB / 0.7221 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/1.172, allocations: 178.6 kB / 0.7222 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/1.174, allocations: 0.6583 MB / 0.7229 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/1.174, allocations: 74.95 kB / 0.7229 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/1.174, allocations: 75.89 kB / 0.723 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/1.176, allocations: 0.8 MB / 0.7238 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/1.176, allocations: 11.88 kB / 0.7238 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/1.176, allocations: 20 kB / 0.7238 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/1.176, allocations: 20 kB / 0.7238 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/1.178, allocations: 0.6969 MB / 0.7245 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00595/1.184, allocations: 3.625 MB / 0.7281 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/1.186, allocations: 0.6939 MB / 0.7287 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009553/1.187, allocations: 351.3 kB / 0.7291 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.188, allocations: 0.4939 MB / 0.7296 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/1.189, allocations: 0.5087 MB / 0.7301 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 3.958e-06/1.189, allocations: 4 kB / 0.7301 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.004121/1.193, allocations: 1.358 MB / 0.7314 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.193, allocations: 93.09 kB / 0.7315 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.194, allocations: 0.6533 MB / 0.7321 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.319e-05/1.195, allocations: 37.7 kB / 0.7321 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/1.195, allocations: 396.5 kB / 0.7325 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/1.195, allocations: 228.7 kB / 0.7327 GB, free: 484 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003255/1.196, allocations: 170.5 kB / 0.7329 GB, free: 308 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002025/1.196, allocations: 330 kB / 0.7332 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009294/1.197, allocations: 297.7 kB / 0.7335 GB, free: 15.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/1.198, allocations: 394.3 kB / 0.7339 GB, free: 15.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/1.2, allocations: 0.7351 MB / 0.7346 GB, free: 14.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.2, allocations: 0 / 0.7346 GB, free: 14.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002729/1.202, allocations: 1.026 MB / 0.7356 GB, free: 13.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/1.203, allocations: 65.53 kB / 0.7357 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.663e-05/1.203, allocations: 11.98 kB / 0.7357 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004751/1.203, allocations: 89.66 kB / 0.7358 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/1.204, allocations: 187.7 kB / 0.7359 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/1.207, allocations: 3.058 MB / 0.7389 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009668/1.208, allocations: 107.3 kB / 0.739 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/1.208, allocations: 75.98 kB / 0.7391 GB, free: 9.551 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.0005531/1.209, allocations: 201.7 kB / 0.7393 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/1.209, allocations: 94.86 kB / 0.7394 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/1.214, allocations: 1.791 MB / 0.7411 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.214, allocations: 11.94 kB / 0.7411 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.214, allocations: 4 kB / 0.7412 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/1.214, allocations: 3.984 kB / 0.7412 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/1.218, allocations: 1.951 MB / 0.7431 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/1.219, allocations: 11.98 kB / 0.7431 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/1.219, allocations: 167.8 kB / 0.7432 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000368/1.22, allocations: 89.62 kB / 0.7433 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.22, allocations: 43.97 kB / 0.7434 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/1.223, allocations: 3.059 MB / 0.7463 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.223, allocations: 8.094 kB / 0.7464 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/1.227, allocations: 1.464 MB / 0.7478 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/1.227, allocations: 251.8 kB / 0.748 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.228, allocations: 12 kB / 0.748 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008175/1.229, allocations: 59.94 kB / 0.7481 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/1.229, allocations: 107.9 kB / 0.7482 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.229, allocations: 71.98 kB / 0.7483 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008184/1.23, allocations: 467 kB / 0.7487 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/1.23, allocations: 0 / 0.7487 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00166/1.232, allocations: 347.4 kB / 0.749 GB, free: 14.94 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.005588/1.237, allocations: 2.348 MB / 0.7513 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003567/1.241, allocations: 1.249 MB / 0.7526 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.241, allocations: 7.938 kB / 0.7526 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/1.243, allocations: 0.7854 MB / 0.7533 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.245, allocations: 257 kB / 0.7536 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.263, allocations: 7.572 MB / 0.761 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009718/1.264, allocations: 0.9707 MB / 0.7619 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002594/1.267, allocations: 0.9873 MB / 0.7629 GB, free: 320 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/1.268, allocations: 447.2 kB / 0.7633 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of SimCode: time 3.497e-06/1.268, allocations: 4 kB / 0.7633 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08535/1.353, allocations: 26.25 MB / 0.7889 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.09/19.45, allocations: 17.39 kB / 0.789 GB, free: 5.895 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