Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",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.005993/0.005993, allocations: 104.2 kB / 15.74 MB, free: 6.445 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.001409/0.001409, allocations: 192 kB / 16.67 MB, free: 6.352 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.644/1.644, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7827/0.7827, allocations: 93.72 MB / 384.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002493, allocations: 87.86 kB / 0.52 GB, free: 6.27 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.2005, allocations: 68.27 MB / 0.5866 GB, free: 1.922 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.7436/0.9441, allocations: 225 MB / 0.8064 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04469/0.9889, allocations: 30.94 MB / 0.8366 GB, free: 2.309 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004141/0.993, allocations: 139.1 kB / 0.8367 GB, free: 2.172 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006687/0.9998, allocations: 1.739 MB / 0.8384 GB, free: 428 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/1.011, allocations: 2.66 MB / 0.841 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01025/1.021, allocations: 2.592 MB / 0.8436 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01007/1.031, allocations: 4.834 MB / 0.8483 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/1.034, allocations: 1.051 MB / 0.8493 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006783/1.041, allocations: 2.365 MB / 0.8516 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00488/1.046, allocations: 2.292 MB / 0.8539 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001419/1.047, allocations: 268 kB / 0.8541 GB, free: 264 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5948/1.642, allocations: 3.713 MB / 0.8578 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/1.643, allocations: 0.6295 MB / 0.8584 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003098/1.647, allocations: 1.559 MB / 0.8599 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01691/1.663, allocations: 4.989 MB / 0.8648 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.664, allocations: 0.75 kB / 0.8648 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.034e-06/1.664, allocations: 2.406 kB / 0.8648 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002214/1.664, allocations: 0 / 0.8648 GB, free: 11.64 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01274/1.676, allocations: 3.678 MB / 0.8684 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/1.677, allocations: 10.31 kB / 0.8684 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005019/1.677, allocations: 288.9 kB / 0.8686 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/1.678, allocations: 360.2 kB / 0.869 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005544/1.684, allocations: 2.072 MB / 0.871 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/1.684, allocations: 159 kB / 0.8712 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/1.685, allocations: 224.1 kB / 0.8714 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005009/1.69, allocations: 2.472 MB / 0.8738 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/1.69, allocations: 4.656 kB / 0.8738 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/1.69, allocations: 86.5 kB / 0.8739 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.385e-05/1.69, allocations: 53.31 kB / 0.8739 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004439/1.695, allocations: 2.225 MB / 0.8761 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01783/1.712, allocations: 11.22 MB / 0.8871 GB, free: 18.97 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/1.716, allocations: 1.757 MB / 0.8888 GB, free: 18.89 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/1.718, allocations: 0.9046 MB / 0.8897 GB, free: 18.88 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/1.729, allocations: 6.534 MB / 0.896 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002126/1.731, allocations: 1.043 MB / 0.8971 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=183): time 7.785e-06/1.731, allocations: 0.9062 kB / 0.8971 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=184): time 0.01443/1.746, allocations: 6.178 MB / 0.9031 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/1.746, allocations: 98.45 kB / 0.9032 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/1.749, allocations: 1.881 MB / 0.905 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002811/1.749, allocations: 58.23 kB / 0.9051 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008981/1.75, allocations: 1.102 MB / 0.9062 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006977/1.751, allocations: 0.652 MB / 0.9068 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007004/1.752, allocations: 299.3 kB / 0.9071 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.752, allocations: 307.6 kB / 0.9074 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/1.754, allocations: 0.6684 MB / 0.908 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/1.755, allocations: 0.8533 MB / 0.9089 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00352/1.759, allocations: 1.662 MB / 0.9105 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/1.759, allocations: 0 / 0.9105 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006187/1.765, allocations: 2.569 MB / 0.913 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/1.765, allocations: 36.39 kB / 0.913 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.765, allocations: 3.656 kB / 0.913 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/1.767, allocations: 0.6169 MB / 0.9136 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.769, allocations: 297.4 kB / 0.9139 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/1.789, allocations: 16.24 MB / 0.9298 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/1.792, allocations: 100 kB / 0.9299 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006437/1.793, allocations: 74.91 kB / 0.9299 GB, free: 13.46 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001979/1.795, allocations: 437.9 kB / 0.9303 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.796, allocations: 279.2 kB / 0.9306 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008654/1.804, allocations: 3.455 MB / 0.934 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/1.805, allocations: 20.03 kB / 0.934 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.622e-05/1.805, allocations: 15.33 kB / 0.934 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.959e-05/1.805, allocations: 9.375 kB / 0.934 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/1.817, allocations: 5.165 MB / 0.9391 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/1.818, allocations: 10.28 kB / 0.9391 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.819, allocations: 288.9 kB / 0.9394 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/1.821, allocations: 0.5446 MB / 0.9399 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/1.821, allocations: 70.06 kB / 0.94 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/1.837, allocations: 15.24 MB / 0.9548 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.351e-06/1.837, allocations: 7.562 kB / 0.9549 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009076/1.846, allocations: 3.727 MB / 0.9585 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.847, allocations: 341.4 kB / 0.9588 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/1.849, allocations: 63.69 kB / 0.9589 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/1.85, allocations: 52.86 kB / 0.9589 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005577/1.851, allocations: 176 kB / 0.9591 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003002/1.851, allocations: 67.45 kB / 0.9592 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002583/1.854, allocations: 1.331 MB / 0.9605 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.024e-06/1.854, allocations: 1 kB / 0.9605 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004352/1.858, allocations: 0.897 MB / 0.9613 GB, free: 14.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%), (3,18,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0101/1.868, allocations: 5.187 MB / 0.9664 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005994/1.874, allocations: 3.081 MB / 0.9694 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.874, allocations: 0 / 0.9694 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004173/1.879, allocations: 2.261 MB / 0.9716 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005946/1.885, allocations: 0.8286 MB / 0.9724 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04472/1.929, allocations: 19.18 MB / 0.9912 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/1.932, allocations: 1.68 MB / 0.9928 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002728/1.935, allocations: 0.5175 MB / 0.9933 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002067/1.937, allocations: 1.159 MB / 0.9944 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of SimCode: time 8.72e-07/1.937, allocations: 0 / 0.9944 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2368/2.173, allocations: 77.4 MB / 1.07 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/18.97, allocations: 7.875 kB / 1.07 GB, free: 6.648 MB / 0.8262 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches