Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001259/0.001259, allocations: 194.9 kB / 16.14 MB, free: 6.668 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5825/0.5825, allocations: 89.52 MB / 379.5 MB, free: 11.28 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 81.94 kB / 457.7 MB, free: 23.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 67.3 MB / 0.5127 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.368/0.4714, allocations: 190.2 MB / 0.6984 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006239/0.4777, allocations: 5.569 MB / 0.7039 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.4781, allocations: 15.94 kB / 0.7039 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008683/0.479, allocations: 346.1 kB / 0.7042 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.4817, allocations: 1.205 MB / 0.7054 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.4833, allocations: 0.7242 MB / 0.7061 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003546/0.4868, allocations: 2.881 MB / 0.7089 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.4871, allocations: 212.9 kB / 0.7091 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.4898, allocations: 1.722 MB / 0.7108 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007234/0.4905, allocations: 0.6694 MB / 0.7115 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.912e-05/0.4906, allocations: 48 kB / 0.7115 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.4929, allocations: 1.112 MB / 0.7126 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.493, allocations: 167.2 kB / 0.7127 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.4934, allocations: 425.8 kB / 0.7132 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.4952, allocations: 1.566 MB / 0.7147 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4952, allocations: 4 kB / 0.7147 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4952, allocations: 3.984 kB / 0.7147 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.4952, allocations: 0 / 0.7147 GB, free: 4.582 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002959/0.4982, allocations: 1.436 MB / 0.7161 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4982, allocations: 12.03 kB / 0.7161 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.4983, allocations: 102.5 kB / 0.7162 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.4994, allocations: 170.8 kB / 0.7164 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.5, allocations: 0.4944 MB / 0.7168 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.5001, allocations: 82.94 kB / 0.7169 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.5002, allocations: 67.91 kB / 0.717 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.5018, allocations: 0.8077 MB / 0.7178 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.5018, allocations: 3.938 kB / 0.7178 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/0.5019, allocations: 23.98 kB / 0.7178 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.5019, allocations: 16 kB / 0.7178 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.5036, allocations: 0.6891 MB / 0.7185 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.5078, allocations: 3.59 MB / 0.722 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.5095, allocations: 0.6908 MB / 0.7227 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007926/0.5103, allocations: 361.7 kB / 0.723 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008161/0.5111, allocations: 0.4899 MB / 0.7235 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.5122, allocations: 0.5048 MB / 0.724 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 1.994e-06/0.5122, allocations: 0 / 0.724 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.003271/0.5155, allocations: 1.331 MB / 0.7253 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.5155, allocations: 93.09 kB / 0.7254 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.5161, allocations: 0.5265 MB / 0.7259 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/0.5161, allocations: 45.64 kB / 0.7259 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.5163, allocations: 324.5 kB / 0.7262 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.5165, allocations: 228.7 kB / 0.7265 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.5168, allocations: 162.6 kB / 0.7266 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5169, allocations: 382.8 kB / 0.727 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008138/0.5178, allocations: 301.7 kB / 0.7273 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000834/0.5186, allocations: 394.3 kB / 0.7276 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.5202, allocations: 0.7351 MB / 0.7284 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.5202, allocations: 4 kB / 0.7284 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002168/0.5224, allocations: 1.007 MB / 0.7294 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/0.5225, allocations: 63.39 kB / 0.7294 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.5225, allocations: 11.94 kB / 0.7294 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.5228, allocations: 85.72 kB / 0.7295 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.5235, allocations: 183.7 kB / 0.7297 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.5256, allocations: 2.849 MB / 0.7325 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006518/0.5263, allocations: 99.3 kB / 0.7326 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.5264, allocations: 79.98 kB / 0.7326 GB, free: 1.109 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 69 * 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.0002902/0.5267, allocations: 193.8 kB / 0.7328 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5269, allocations: 78.98 kB / 0.7329 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/0.5306, allocations: 1.778 MB / 0.7346 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.5307, allocations: 8 kB / 0.7346 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5307, allocations: 4 kB / 0.7346 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.5307, allocations: 7.984 kB / 0.7346 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.534, allocations: 1.918 MB / 0.7365 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/0.5341, allocations: 8 kB / 0.7365 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.5347, allocations: 163.8 kB / 0.7367 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.535, allocations: 85.56 kB / 0.7368 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-05/0.5351, allocations: 48 kB / 0.7368 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.5371, allocations: 2.857 MB / 0.7396 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.5371, allocations: 7.875 kB / 0.7396 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.5402, allocations: 1.449 MB / 0.741 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.5405, allocations: 235.9 kB / 0.7413 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.5406, allocations: 16 kB / 0.7413 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/0.5412, allocations: 67.83 kB / 0.7413 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.5415, allocations: 111.8 kB / 0.7414 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.5416, allocations: 71.98 kB / 0.7415 GB, free: 7.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003979/0.542, allocations: 374.8 kB / 0.7419 GB, free: 7.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.542, allocations: 0 / 0.7419 GB, free: 7.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001006/0.543, allocations: 335.6 kB / 0.7422 GB, free: 6.922 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * 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.004078/0.5471, allocations: 2.322 MB / 0.7445 GB, free: 4.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002376/0.5495, allocations: 1.21 MB / 0.7456 GB, free: 3.285 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5495, allocations: 0 / 0.7456 GB, free: 3.285 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.5509, allocations: 0.7967 MB / 0.7464 GB, free: 2.438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.5521, allocations: 226.9 kB / 0.7466 GB, free: 2.211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.5633, allocations: 7.178 MB / 0.7536 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.5638, allocations: 0.9234 MB / 0.7545 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001854/0.5656, allocations: 0.9746 MB / 0.7555 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007349/0.5664, allocations: 387.2 kB / 0.7559 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.5664, allocations: 0 / 0.7559 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04144/0.6078, allocations: 23.51 MB / 0.7788 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.6081, allocations: 290.7 kB / 0.7791 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.95, allocations: 0 / 0.7791 GB, free: 0.9492 MB / 0.5762 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches