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.001002/0.001002, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009383/0.0009383, allocations: 194.2 kB / 16.14 MB, free: 6.719 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.12/1.12, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5633/0.5633, allocations: 89.51 MB / 379.5 MB, free: 11.29 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 82.31 kB / 457.7 MB, free: 23.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09445, allocations: 67.31 MB / 0.5127 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3801/0.4745, allocations: 187.1 MB / 0.6954 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007643/0.4822, allocations: 7.367 MB / 0.7026 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.4828, allocations: 11.91 kB / 0.7026 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008133/0.4836, allocations: 326.3 kB / 0.7029 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.4862, allocations: 1.068 MB / 0.7039 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.4875, allocations: 0.5879 MB / 0.7045 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003088/0.4906, allocations: 2.504 MB / 0.7069 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.4909, allocations: 169.6 kB / 0.7071 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.4931, allocations: 1.512 MB / 0.7086 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.4937, allocations: 0.5527 MB / 0.7091 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.4938, allocations: 36 kB / 0.7092 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.4956, allocations: 1.053 MB / 0.7102 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.4958, allocations: 119.5 kB / 0.7103 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.4961, allocations: 346.1 kB / 0.7106 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.4976, allocations: 1.34 MB / 0.7119 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4976, allocations: 0 / 0.7119 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4976, allocations: 0 / 0.7119 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4976, allocations: 0 / 0.7119 GB, free: 7.273 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.002311/0.5, allocations: 1.245 MB / 0.7132 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.5, allocations: 8.031 kB / 0.7132 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.539e-05/0.5001, allocations: 86.52 kB / 0.7132 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.501, allocations: 143.1 kB / 0.7134 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.5015, allocations: 468.2 kB / 0.7138 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.5016, allocations: 40.94 kB / 0.7139 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.5017, allocations: 48 kB / 0.7139 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.5028, allocations: 0.5896 MB / 0.7145 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.5028, allocations: 0 / 0.7145 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/0.5029, allocations: 28 kB / 0.7145 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.5029, allocations: 8 kB / 0.7145 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.504, allocations: 468.1 kB / 0.715 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/0.5072, allocations: 2.639 MB / 0.7175 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/0.5082, allocations: 461.7 kB / 0.718 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.5087, allocations: 242.5 kB / 0.7182 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.509, allocations: 267.3 kB / 0.7185 GB, free: 124 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007207/0.5097, allocations: 402.3 kB / 0.7189 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 1.693e-06/0.5097, allocations: 0 / 0.7189 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002367/0.5121, allocations: 1.023 MB / 0.7199 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.5121, allocations: 81.11 kB / 0.7199 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.5126, allocations: 462 kB / 0.7204 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.5126, allocations: 37.7 kB / 0.7204 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.5128, allocations: 276.9 kB / 0.7207 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.513, allocations: 181.4 kB / 0.7208 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.5132, allocations: 134.2 kB / 0.721 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5133, allocations: 370.7 kB / 0.7213 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.5138, allocations: 197 kB / 0.7215 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.5143, allocations: 266.6 kB / 0.7218 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009948/0.5153, allocations: 0.5159 MB / 0.7223 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5153, allocations: 0 / 0.7223 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001502/0.5168, allocations: 0.7554 MB / 0.723 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.5169, allocations: 59.41 kB / 0.7231 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.5169, allocations: 15.98 kB / 0.7231 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.5172, allocations: 82.53 kB / 0.7232 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.5177, allocations: 123.9 kB / 0.7233 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.5197, allocations: 2.84 MB / 0.7261 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.5202, allocations: 67.59 kB / 0.7261 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/0.5203, allocations: 68.84 kB / 0.7262 GB, free: 7.738 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.0002347/0.5205, allocations: 181.7 kB / 0.7264 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.5206, allocations: 59.28 kB / 0.7264 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.5234, allocations: 1.298 MB / 0.7277 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.5234, allocations: 4 kB / 0.7277 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5234, allocations: 8 kB / 0.7277 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.5234, allocations: 3.984 kB / 0.7277 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.5259, allocations: 1.535 MB / 0.7292 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/0.5259, allocations: 17.92 kB / 0.7292 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.5264, allocations: 111.9 kB / 0.7293 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/0.5266, allocations: 89.69 kB / 0.7294 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/0.5267, allocations: 39.97 kB / 0.7294 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.5287, allocations: 2.838 MB / 0.7322 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5287, allocations: 0 / 0.7322 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.5307, allocations: 1.125 MB / 0.7333 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.531, allocations: 204.3 kB / 0.7335 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.5311, allocations: 19.94 kB / 0.7335 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.5316, allocations: 39.88 kB / 0.7336 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.5318, allocations: 87.88 kB / 0.7336 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/0.5318, allocations: 59.98 kB / 0.7337 GB, free: 15.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003297/0.5322, allocations: 322.9 kB / 0.734 GB, free: 15.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5322, allocations: 0 / 0.734 GB, free: 15.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009459/0.5331, allocations: 295.6 kB / 0.7343 GB, free: 15.02 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.003095/0.5362, allocations: 1.982 MB / 0.7362 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.538, allocations: 0.9795 MB / 0.7372 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.538, allocations: 0 / 0.7372 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.539, allocations: 0.668 MB / 0.7378 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5401, allocations: 176.4 kB / 0.738 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008566/0.5487, allocations: 5.866 MB / 0.7437 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.5491, allocations: 0.8797 MB / 0.7446 GB, free: 4.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001293/0.5504, allocations: 0.6711 MB / 0.7453 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/0.551, allocations: 291.2 kB / 0.7455 GB, free: 3.172 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.551, allocations: 0 / 0.7455 GB, free: 3.172 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/0.6128, allocations: 20.32 MB / 0.7654 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/0.6131, allocations: 266.7 kB / 0.7656 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.043, allocations: 0 / 0.7656 GB, free: 14.74 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