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: translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001754/0.001754, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.377/1.377, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6785/0.6785, allocations: 91.19 MB / 382.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 83.86 kB / 0.5175 GB, free: 4.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2776, allocations: 67.68 MB / 0.5836 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.4746/0.7522, allocations: 189.2 MB / 0.7684 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006425/0.7587, allocations: 7.322 MB / 0.7755 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005895/0.7593, allocations: 32.28 kB / 0.7756 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008594/0.7602, allocations: 380 kB / 0.7759 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.763, allocations: 1.294 MB / 0.7772 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.7645, allocations: 0.6618 MB / 0.7778 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0031/0.7676, allocations: 2.379 MB / 0.7801 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.7679, allocations: 204.3 kB / 0.7803 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.7704, allocations: 1.633 MB / 0.7819 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006416/0.771, allocations: 0.5825 MB / 0.7825 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.425e-05/0.7712, allocations: 56.88 kB / 0.7826 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.7734, allocations: 1.148 MB / 0.7837 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.7735, allocations: 153.5 kB / 0.7838 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.7738, allocations: 404.9 kB / 0.7842 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.7756, allocations: 1.482 MB / 0.7857 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7756, allocations: 0 / 0.7857 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7756, allocations: 1.094 kB / 0.7857 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.7756, allocations: 0 / 0.7857 GB, free: 0.832 MB / 0.5762 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.002374/0.778, allocations: 1.385 MB / 0.787 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.7781, allocations: 10.75 kB / 0.787 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009329/0.779, allocations: 159.6 kB / 0.7872 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008387/0.7798, allocations: 0.6561 MB / 0.7878 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.7799, allocations: 41.84 kB / 0.7879 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.905e-05/0.78, allocations: 52.59 kB / 0.7879 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000978/0.781, allocations: 0.5883 MB / 0.7885 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.781, allocations: 3.938 kB / 0.7885 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.7811, allocations: 19.53 kB / 0.7885 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.7811, allocations: 10.91 kB / 0.7885 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.7821, allocations: 466.9 kB / 0.789 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.7852, allocations: 2.675 MB / 0.7916 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.7862, allocations: 461.8 kB / 0.792 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/0.7867, allocations: 244.2 kB / 0.7922 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/0.787, allocations: 270.6 kB / 0.7925 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006792/0.7877, allocations: 388.2 kB / 0.7929 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 2.795e-06/0.7877, allocations: 0.625 kB / 0.7929 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.002351/0.7901, allocations: 1.046 MB / 0.7939 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.7901, allocations: 87.14 kB / 0.794 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.7907, allocations: 0.5745 MB / 0.7945 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.7908, allocations: 38.17 kB / 0.7946 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.791, allocations: 344.2 kB / 0.7949 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.7912, allocations: 189.3 kB / 0.7951 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.7914, allocations: 136.2 kB / 0.7952 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7916, allocations: 381.6 kB / 0.7956 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.7921, allocations: 198.9 kB / 0.7958 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.7926, allocations: 259.7 kB / 0.796 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.7936, allocations: 0.514 MB / 0.7965 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.7936, allocations: 0 / 0.7965 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001517/0.7952, allocations: 0.7743 MB / 0.7973 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.505e-05/0.7952, allocations: 62.91 kB / 0.7973 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.7953, allocations: 14.94 kB / 0.7974 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.7956, allocations: 86.58 kB / 0.7974 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.796, allocations: 125.1 kB / 0.7976 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.7982, allocations: 3.059 MB / 0.8005 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.7987, allocations: 63.84 kB / 0.8006 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-05/0.7988, allocations: 63.84 kB / 0.8007 GB, free: 9.281 MB / 0.5919 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.0002539/0.799, allocations: 191.6 kB / 0.8008 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.7992, allocations: 78.8 kB / 0.8009 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.8017, allocations: 1.312 MB / 0.8022 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.8017, allocations: 2.953 kB / 0.8022 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-05/0.8017, allocations: 15.5 kB / 0.8022 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.802, allocations: 221.7 kB / 0.8024 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.8021, allocations: 15.75 kB / 0.8024 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.8025, allocations: 31.83 kB / 0.8025 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.8027, allocations: 93.73 kB / 0.8026 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001959/0.8046, allocations: 0.8735 MB / 0.8034 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002002/0.8067, allocations: 1.156 MB / 0.8045 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005622/0.8072, allocations: 273.9 kB / 0.8048 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004505/0.8077, allocations: 408.1 kB / 0.8052 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of Backend: time 2.31e-07/0.8077, allocations: 0 / 0.8052 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.8104, allocations: 1.367 MB / 0.8065 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of SimCode: time 0.00236/0.8128, allocations: 2.065 MB / 0.8085 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of Templates: time 0.02815/0.841, allocations: 18.39 MB / 0.8265 GB, free: 8.352 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile (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 & ./ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > 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