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.001081/0.001081, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001147/0.001147, allocations: 193.1 kB / 16.25 MB, free: 6.633 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.167/1.167, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.587/0.587, allocations: 91.2 MB / 381.3 MB, free: 9.523 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 89.31 kB / 459.9 MB, free: 23.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09889, allocations: 67.7 MB / 0.5153 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3332/0.4322, allocations: 187.2 MB / 0.6981 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008059/0.4402, allocations: 7.352 MB / 0.7053 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.4413, allocations: 35.75 kB / 0.7053 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.4424, allocations: 322.2 kB / 0.7056 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.4458, allocations: 1.169 MB / 0.7068 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.4474, allocations: 0.6088 MB / 0.7074 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003223/0.4506, allocations: 2.392 MB / 0.7097 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.451, allocations: 203.6 kB / 0.7099 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.4534, allocations: 1.64 MB / 0.7115 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/0.4542, allocations: 0.5992 MB / 0.7121 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.4543, allocations: 56 kB / 0.7121 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.4564, allocations: 1.131 MB / 0.7132 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.4565, allocations: 155.3 kB / 0.7134 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.4569, allocations: 405.8 kB / 0.7138 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.4592, allocations: 1.465 MB / 0.7152 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4592, allocations: 0 / 0.7152 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.61e-07/0.4592, allocations: 0 / 0.7152 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.914e-05/0.4593, allocations: 0 / 0.7152 GB, free: 3.082 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.002756/0.462, allocations: 1.358 MB / 0.7165 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.4621, allocations: 8.031 kB / 0.7165 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.4622, allocations: 86.52 kB / 0.7166 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009647/0.4632, allocations: 162.8 kB / 0.7168 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.464, allocations: 0.5921 MB / 0.7174 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.464, allocations: 37 kB / 0.7174 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.965e-05/0.4641, allocations: 59.98 kB / 0.7175 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.4652, allocations: 0.5857 MB / 0.718 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.4653, allocations: 0 / 0.718 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.4653, allocations: 20 kB / 0.718 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.4654, allocations: 12 kB / 0.7181 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.4664, allocations: 472.1 kB / 0.7185 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.4698, allocations: 2.677 MB / 0.7211 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.4708, allocations: 470.8 kB / 0.7216 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005037/0.4713, allocations: 245.6 kB / 0.7218 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.4716, allocations: 263.3 kB / 0.7221 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007126/0.4723, allocations: 403.2 kB / 0.7224 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 1.853e-06/0.4723, allocations: 0 / 0.7224 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002352/0.4747, allocations: 1.031 MB / 0.7234 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.4747, allocations: 85.11 kB / 0.7235 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/0.4753, allocations: 0.5786 MB / 0.7241 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.4754, allocations: 37.7 kB / 0.7241 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.4756, allocations: 340.8 kB / 0.7245 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.4757, allocations: 185.4 kB / 0.7246 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.476, allocations: 134.2 kB / 0.7248 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4761, allocations: 382.8 kB / 0.7251 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.4766, allocations: 197 kB / 0.7253 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.4771, allocations: 265.2 kB / 0.7256 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.4781, allocations: 0.5159 MB / 0.7261 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4781, allocations: 0 / 0.7261 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001514/0.4797, allocations: 0.7591 MB / 0.7268 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.4797, allocations: 63.45 kB / 0.7269 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.4798, allocations: 23.98 kB / 0.7269 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.4801, allocations: 73.66 kB / 0.727 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.4805, allocations: 127.8 kB / 0.7271 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.4827, allocations: 3.052 MB / 0.7301 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.4832, allocations: 70.92 kB / 0.7301 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.722e-05/0.4833, allocations: 59.98 kB / 0.7302 GB, free: 2.797 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.0002695/0.4836, allocations: 189.8 kB / 0.7304 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.4837, allocations: 75 kB / 0.7304 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.4865, allocations: 1.316 MB / 0.7317 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.4865, allocations: 4 kB / 0.7317 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4865, allocations: 4 kB / 0.7317 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.4865, allocations: 3.984 kB / 0.7317 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.4891, allocations: 1.586 MB / 0.7333 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/0.4891, allocations: 11.98 kB / 0.7333 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.4896, allocations: 115.9 kB / 0.7334 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/0.4898, allocations: 97.58 kB / 0.7335 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.315e-05/0.4899, allocations: 31.98 kB / 0.7335 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.492, allocations: 3.051 MB / 0.7365 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.492, allocations: 4.031 kB / 0.7365 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.4941, allocations: 1.136 MB / 0.7376 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.4944, allocations: 212 kB / 0.7378 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.4945, allocations: 20 kB / 0.7379 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005051/0.495, allocations: 35.89 kB / 0.7379 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.4952, allocations: 95.89 kB / 0.738 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.93e-05/0.4953, allocations: 59.98 kB / 0.738 GB, free: 10.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004196/0.4957, allocations: 411 kB / 0.7384 GB, free: 9.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4957, allocations: 0 / 0.7384 GB, free: 9.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008781/0.4966, allocations: 303.5 kB / 0.7387 GB, free: 9.645 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.003051/0.4997, allocations: 1.987 MB / 0.7407 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.5015, allocations: 1.011 MB / 0.7416 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5015, allocations: 0 / 0.7416 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.5025, allocations: 0.66 MB / 0.7423 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.5036, allocations: 215.8 kB / 0.7425 GB, free: 5.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009357/0.5129, allocations: 6.493 MB / 0.7488 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.5134, allocations: 0.9269 MB / 0.7497 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001371/0.5148, allocations: 0.6834 MB / 0.7504 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006252/0.5154, allocations: 351.3 kB / 0.7507 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.5154, allocations: 0 / 0.7507 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.343/2.859, allocations: 22.44 MB / 0.7727 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003399/2.859, allocations: 264.6 kB / 0.7729 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/5.747, allocations: 0 / 0.7729 GB, free: 6.473 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