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.001294/0.001294, allocations: 108 kB / 15.61 MB, free: 152 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.001191/0.001191, allocations: 194 kB / 16.53 MB, free: 6.699 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7378/0.7378, allocations: 91.19 MB / 381.6 MB, free: 9.414 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 81.66 kB / 460.4 MB, free: 23.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1362, allocations: 67.69 MB / 0.5157 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.4353/0.5715, allocations: 189.2 MB / 0.7005 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009637/0.5812, allocations: 7.325 MB / 0.7076 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009676/0.5822, allocations: 31.81 kB / 0.7077 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.5835, allocations: 377.5 kB / 0.708 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.5878, allocations: 1.277 MB / 0.7093 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.5898, allocations: 0.6734 MB / 0.7099 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003824/0.5937, allocations: 2.357 MB / 0.7122 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.5941, allocations: 208.5 kB / 0.7124 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/0.597, allocations: 1.598 MB / 0.714 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008942/0.5979, allocations: 0.5875 MB / 0.7146 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.5981, allocations: 56 kB / 0.7146 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.6007, allocations: 1.096 MB / 0.7157 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.6009, allocations: 151.3 kB / 0.7158 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.6014, allocations: 405.7 kB / 0.7162 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.6042, allocations: 1.441 MB / 0.7176 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6042, allocations: 0 / 0.7176 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6042, allocations: 11.94 kB / 0.7176 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.6042, allocations: 0 / 0.7176 GB, free: 0.7227 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.003315/0.6076, allocations: 1.354 MB / 0.719 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.6076, allocations: 12.03 kB / 0.719 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.6078, allocations: 90.52 kB / 0.7191 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.6089, allocations: 154.8 kB / 0.7192 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.6099, allocations: 0.6 MB / 0.7198 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.61, allocations: 33 kB / 0.7198 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.6101, allocations: 51.98 kB / 0.7199 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.6113, allocations: 0.5904 MB / 0.7204 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.6114, allocations: 0 / 0.7204 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.6114, allocations: 20 kB / 0.7205 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.6115, allocations: 12 kB / 0.7205 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.6127, allocations: 468.1 kB / 0.7209 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.6167, allocations: 2.681 MB / 0.7235 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.6179, allocations: 466.2 kB / 0.724 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/0.6185, allocations: 245.6 kB / 0.7242 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/0.6188, allocations: 267.3 kB / 0.7245 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008706/0.6197, allocations: 399.2 kB / 0.7249 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 2.605e-06/0.6197, allocations: 0 / 0.7249 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002884/0.6226, allocations: 1.033 MB / 0.7259 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.6227, allocations: 89.11 kB / 0.7259 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007028/0.6234, allocations: 0.5747 MB / 0.7265 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.6235, allocations: 37.7 kB / 0.7265 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.6238, allocations: 348.8 kB / 0.7269 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.624, allocations: 177.4 kB / 0.727 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.6243, allocations: 130.2 kB / 0.7272 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.6244, allocations: 382.8 kB / 0.7275 GB, free: 6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/0.625, allocations: 205.8 kB / 0.7277 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.6256, allocations: 254.6 kB / 0.728 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.6268, allocations: 0.5159 MB / 0.7285 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6268, allocations: 4 kB / 0.7285 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001775/0.6286, allocations: 0.7633 MB / 0.7292 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.6286, allocations: 71.33 kB / 0.7293 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/0.6287, allocations: 11.98 kB / 0.7293 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.6291, allocations: 85.59 kB / 0.7294 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.6296, allocations: 120.8 kB / 0.7295 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.6322, allocations: 3.056 MB / 0.7325 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.6327, allocations: 67.52 kB / 0.7326 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.6329, allocations: 63.98 kB / 0.7326 GB, free: 432 kB / 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.0003338/0.6332, allocations: 185.8 kB / 0.7328 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.6334, allocations: 79 kB / 0.7329 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.6368, allocations: 1.303 MB / 0.7341 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.6368, allocations: 11.94 kB / 0.7342 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6368, allocations: 0 / 0.7342 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.6369, allocations: 7.984 kB / 0.7342 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.6401, allocations: 1.583 MB / 0.7357 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.6402, allocations: 15.98 kB / 0.7357 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.6407, allocations: 115.9 kB / 0.7358 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/0.641, allocations: 97.45 kB / 0.7359 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/0.6411, allocations: 36.05 kB / 0.736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.6438, allocations: 3.047 MB / 0.7389 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6438, allocations: 0 / 0.7389 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.6463, allocations: 1.132 MB / 0.74 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.6467, allocations: 220 kB / 0.7402 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.6468, allocations: 12 kB / 0.7403 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.6473, allocations: 35.95 kB / 0.7403 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.6476, allocations: 87.89 kB / 0.7404 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.6477, allocations: 63.92 kB / 0.7404 GB, free: 7.973 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005205/0.6482, allocations: 411 kB / 0.7408 GB, free: 7.578 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6482, allocations: 4 kB / 0.7408 GB, free: 7.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001183/0.6494, allocations: 307.5 kB / 0.7411 GB, free: 7.273 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.003461/0.6529, allocations: 1.983 MB / 0.7431 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.6549, allocations: 0.9951 MB / 0.744 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.655, allocations: 0 / 0.744 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.6561, allocations: 0.672 MB / 0.7447 GB, free: 3.465 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.6573, allocations: 220.1 kB / 0.7449 GB, free: 3.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.6676, allocations: 6.251 MB / 0.751 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.6681, allocations: 0.9269 MB / 0.7519 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001462/0.6696, allocations: 0.6752 MB / 0.7526 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006765/0.6703, allocations: 351.3 kB / 0.7529 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.6703, allocations: 0 / 0.7529 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.71/2.38, allocations: 22.64 MB / 0.775 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/15.92, allocations: 15.95 kB / 0.775 GB, free: 4.445 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