Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_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.008394/0.008394, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.002173/0.002173, allocations: 190.1 kB / 16.67 MB, free: 5.934 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.487/1.487, allocations: 222.9 MB / 240.4 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.8477/0.8477, allocations: 93.7 MB / 384.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003906/0.003906, allocations: 83.88 kB / 0.5199 GB, free: 1.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4119, allocations: 68.26 MB / 0.5866 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.6423/1.054, allocations: 189.2 MB / 0.7714 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00838/1.063, allocations: 7.355 MB / 0.7786 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/1.064, allocations: 33 kB / 0.7786 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/1.065, allocations: 382.3 kB / 0.779 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004079/1.069, allocations: 1.297 MB / 0.7802 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/1.071, allocations: 0.6679 MB / 0.7809 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003712/1.075, allocations: 2.413 MB / 0.7832 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/1.075, allocations: 207.2 kB / 0.7834 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/1.078, allocations: 1.633 MB / 0.785 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/1.079, allocations: 0.5841 MB / 0.7856 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/1.079, allocations: 56.06 kB / 0.7856 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/1.082, allocations: 1.141 MB / 0.7868 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/1.082, allocations: 160.8 kB / 0.7869 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004596/1.083, allocations: 407.7 kB / 0.7873 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/1.085, allocations: 1.494 MB / 0.7888 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.085, allocations: 0 / 0.7888 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.354e-06/1.085, allocations: 0.75 kB / 0.7888 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.085, allocations: 0 / 0.7888 GB, free: 0.7148 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.002982/1.088, allocations: 1.408 MB / 0.7901 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.089, allocations: 11.53 kB / 0.7901 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/1.089, allocations: 83.06 kB / 0.7902 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009928/1.09, allocations: 174.3 kB / 0.7904 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.091, allocations: 0.6712 MB / 0.7911 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/1.091, allocations: 35.19 kB / 0.7911 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.674e-05/1.091, allocations: 55.75 kB / 0.7911 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/1.092, allocations: 0.5854 MB / 0.7917 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.092, allocations: 2.406 kB / 0.7917 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/1.092, allocations: 21.56 kB / 0.7917 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/1.092, allocations: 13.19 kB / 0.7917 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/1.093, allocations: 467.2 kB / 0.7922 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/1.097, allocations: 2.682 MB / 0.7948 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/1.098, allocations: 458.7 kB / 0.7952 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/1.099, allocations: 250 kB / 0.7955 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/1.099, allocations: 268.8 kB / 0.7957 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007791/1.1, allocations: 390.9 kB / 0.7961 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 2.635e-06/1.1, allocations: 0.9375 kB / 0.7961 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.002716/1.103, allocations: 1.043 MB / 0.7971 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/1.103, allocations: 86.52 kB / 0.7972 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007072/1.104, allocations: 0.5954 MB / 0.7978 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/1.104, allocations: 42.33 kB / 0.7978 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/1.104, allocations: 354.4 kB / 0.7982 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/1.104, allocations: 190.5 kB / 0.7984 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/1.104, allocations: 141.3 kB / 0.7985 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.105, allocations: 330.7 kB / 0.7988 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/1.105, allocations: 189.9 kB / 0.799 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/1.106, allocations: 261.7 kB / 0.7992 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/1.107, allocations: 0.5154 MB / 0.7997 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.107, allocations: 0.9688 kB / 0.7997 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001798/1.109, allocations: 0.7763 MB / 0.8005 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/1.109, allocations: 64.89 kB / 0.8006 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/1.109, allocations: 13.5 kB / 0.8006 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/1.109, allocations: 87.47 kB / 0.8007 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/1.11, allocations: 122.9 kB / 0.8008 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/1.113, allocations: 3.054 MB / 0.8038 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/1.113, allocations: 72.27 kB / 0.8038 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.113, allocations: 61.23 kB / 0.8039 GB, free: 9.102 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.00041/1.114, allocations: 188.4 kB / 0.8041 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.114, allocations: 86.12 kB / 0.8041 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/1.117, allocations: 1.303 MB / 0.8054 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/1.117, allocations: 8.406 kB / 0.8054 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.117, allocations: 0 / 0.8054 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.117, allocations: 8.266 kB / 0.8054 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/1.12, allocations: 1.587 MB / 0.807 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/1.12, allocations: 14.92 kB / 0.807 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/1.12, allocations: 117.1 kB / 0.8071 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/1.121, allocations: 91.53 kB / 0.8072 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/1.121, allocations: 35.84 kB / 0.8072 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/1.124, allocations: 3.056 MB / 0.8102 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.124, allocations: 1.969 kB / 0.8102 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/1.126, allocations: 1.135 MB / 0.8113 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/1.126, allocations: 229 kB / 0.8115 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/1.126, allocations: 12.97 kB / 0.8116 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/1.127, allocations: 35.66 kB / 0.8116 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/1.127, allocations: 91.5 kB / 0.8117 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.127, allocations: 66.97 kB / 0.8117 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005362/1.128, allocations: 416.3 kB / 0.8121 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.128, allocations: 0 / 0.8121 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001097/1.129, allocations: 302.5 kB / 0.8124 GB, free: 4.734 MB / 0.5919 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.003994/1.133, allocations: 2.007 MB / 0.8144 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.135, allocations: 0.9821 MB / 0.8153 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.135, allocations: 0 / 0.8153 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/1.137, allocations: 0.6617 MB / 0.816 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.138, allocations: 217.2 kB / 0.8162 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/1.149, allocations: 6.111 MB / 0.8222 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/1.15, allocations: 0.9309 MB / 0.8231 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001502/1.151, allocations: 0.6804 MB / 0.8237 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007069/1.152, allocations: 359.2 kB / 0.8241 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of SimCode: time 1.242e-06/1.152, allocations: 4 kB / 0.8241 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0759/1.228, allocations: 23.14 MB / 0.8467 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/13.1, allocations: 14.98 kB / 0.8467 GB, free: 5.035 MB / 0.6231 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches