Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_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.0008667/0.0008668, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005577/0.005577, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5631/0.5631, allocations: 89.63 MB / 381.1 MB, free: 11.36 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004535, allocations: 13.06 kB / 460.7 MB, free: 24.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 68.83 MB / 0.5172 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3757/0.489, allocations: 184.6 MB / 0.6974 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007067/0.4961, allocations: 7.264 MB / 0.7045 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.4964, allocations: 7.938 kB / 0.7045 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007406/0.4972, allocations: 326.3 kB / 0.7049 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.4995, allocations: 1.073 MB / 0.7059 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.5007, allocations: 0.5879 MB / 0.7065 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002922/0.5037, allocations: 2.5 MB / 0.7089 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.5039, allocations: 165.6 kB / 0.7091 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.506, allocations: 1.497 MB / 0.7105 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.5066, allocations: 0.5293 MB / 0.7111 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.5067, allocations: 28 kB / 0.7111 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.5085, allocations: 1.03 MB / 0.7121 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.5086, allocations: 123.3 kB / 0.7122 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.5089, allocations: 351.8 kB / 0.7125 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.5103, allocations: 1.32 MB / 0.7138 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5103, allocations: 4 kB / 0.7138 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5104, allocations: 0 / 0.7138 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5104, allocations: 0 / 0.7138 GB, free: 1.977 MB / 0.5137 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.002048/0.5124, allocations: 1.113 MB / 0.7149 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5125, allocations: 12.03 kB / 0.7149 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.806e-05/0.5126, allocations: 82.52 kB / 0.715 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.5134, allocations: 147.1 kB / 0.7151 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.5139, allocations: 456.2 kB / 0.7156 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.514, allocations: 36.98 kB / 0.7156 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5141, allocations: 48.05 kB / 0.7157 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.5151, allocations: 0.6091 MB / 0.7163 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.5151, allocations: 3.938 kB / 0.7163 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.5152, allocations: 23.98 kB / 0.7163 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.5152, allocations: 15.98 kB / 0.7163 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.5163, allocations: 0.4884 MB / 0.7168 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.5193, allocations: 2.65 MB / 0.7194 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009771/0.5203, allocations: 476.9 kB / 0.7198 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/0.5208, allocations: 261.6 kB / 0.7201 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.521, allocations: 263.3 kB / 0.7203 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006998/0.5218, allocations: 419.2 kB / 0.7207 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 1.924e-06/0.5218, allocations: 0 / 0.7207 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002308/0.5241, allocations: 1.066 MB / 0.7218 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.5241, allocations: 97.09 kB / 0.7219 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.5246, allocations: 458 kB / 0.7223 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.5247, allocations: 37.7 kB / 0.7223 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.5248, allocations: 280.9 kB / 0.7226 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.525, allocations: 177.4 kB / 0.7228 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.5251, allocations: 53.69 kB / 0.7228 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5252, allocations: 366.7 kB / 0.7232 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.5257, allocations: 217 kB / 0.7234 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.5262, allocations: 278.6 kB / 0.7236 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.5273, allocations: 0.5432 MB / 0.7242 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5273, allocations: 0 / 0.7242 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001512/0.5288, allocations: 0.7828 MB / 0.7249 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.5288, allocations: 57.75 kB / 0.725 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.5289, allocations: 19.98 kB / 0.725 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/0.5292, allocations: 77.72 kB / 0.7251 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.5296, allocations: 135.8 kB / 0.7252 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.5316, allocations: 2.842 MB / 0.728 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.532, allocations: 71.5 kB / 0.7281 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/0.5321, allocations: 63.97 kB / 0.7281 GB, free: 2.406 MB / 0.5294 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.0002285/0.5324, allocations: 186.9 kB / 0.7283 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.5325, allocations: 55.28 kB / 0.7283 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.5351, allocations: 1.335 MB / 0.7297 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.5351, allocations: 8 kB / 0.7297 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5352, allocations: 4 kB / 0.7297 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5352, allocations: 3.984 kB / 0.7297 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.5375, allocations: 1.571 MB / 0.7312 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/0.5376, allocations: 15.98 kB / 0.7312 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.538, allocations: 123.9 kB / 0.7313 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.5383, allocations: 85.61 kB / 0.7314 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.5384, allocations: 36.78 kB / 0.7315 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.5402, allocations: 2.846 MB / 0.7342 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5402, allocations: 0 / 0.7342 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.5422, allocations: 1.16 MB / 0.7354 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.5424, allocations: 204.2 kB / 0.7356 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/0.5425, allocations: 19.92 kB / 0.7356 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.543, allocations: 43.97 kB / 0.7356 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.5432, allocations: 91.88 kB / 0.7357 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.198e-05/0.5433, allocations: 59.98 kB / 0.7358 GB, free: 10.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003115/0.5436, allocations: 322.9 kB / 0.7361 GB, free: 9.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5436, allocations: 4 kB / 0.7361 GB, free: 9.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007603/0.5444, allocations: 299.5 kB / 0.7364 GB, free: 9.551 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.002813/0.5472, allocations: 2.009 MB / 0.7383 GB, free: 7.508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.5487, allocations: 1.015 MB / 0.7393 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5487, allocations: 4.188 kB / 0.7393 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009569/0.5497, allocations: 0.6719 MB / 0.74 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5508, allocations: 194.5 kB / 0.7402 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008122/0.5589, allocations: 6.047 MB / 0.7461 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.5593, allocations: 0.8874 MB / 0.7469 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001249/0.5605, allocations: 0.659 MB / 0.7476 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005336/0.5611, allocations: 291.3 kB / 0.7479 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.5611, allocations: 0 / 0.7479 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.011/2.572, allocations: 20.1 MB / 0.7675 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/2.573, allocations: 268.8 kB / 0.7677 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.236/6.809, allocations: 0 / 0.7677 GB, free: 9.234 MB / 0.5762 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches