Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_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.001848/0.001849, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002535/0.002535, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.874/1.874, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8658/0.8658, allocations: 91.21 MB / 381.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 83.17 kB / 460.4 MB, free: 23.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.182, allocations: 67.69 MB / 0.5157 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.7267/0.9088, allocations: 225 MB / 0.7355 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04169/0.9505, allocations: 30.88 MB / 0.7656 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004634/0.9552, allocations: 135.1 kB / 0.7657 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006401/0.9617, allocations: 1.732 MB / 0.7674 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.9726, allocations: 2.629 MB / 0.77 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009724/0.9824, allocations: 2.584 MB / 0.7725 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.9927, allocations: 4.717 MB / 0.7771 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.995, allocations: 1.034 MB / 0.7781 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006624/1.002, allocations: 2.323 MB / 0.7804 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005892/1.008, allocations: 2.293 MB / 0.7826 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/1.009, allocations: 268 kB / 0.7829 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/1.02, allocations: 3.716 MB / 0.7865 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001445/1.021, allocations: 0.6187 MB / 0.7871 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003148/1.024, allocations: 1.551 MB / 0.7887 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01556/1.04, allocations: 4.81 MB / 0.7933 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.789e-05/1.04, allocations: 0 / 0.7933 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.121e-06/1.04, allocations: 0 / 0.7933 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001917/1.04, allocations: 0 / 0.7933 GB, free: 2.922 MB / 0.5919 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.01207/1.052, allocations: 3.548 MB / 0.7968 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.059e-05/1.052, allocations: 12.03 kB / 0.7968 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005178/1.053, allocations: 287.7 kB / 0.7971 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009879/1.054, allocations: 329 kB / 0.7974 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/1.058, allocations: 1.797 MB / 0.7992 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/1.058, allocations: 156.2 kB / 0.7993 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/1.058, allocations: 219.9 kB / 0.7995 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004751/1.063, allocations: 2.472 MB / 0.8019 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/1.063, allocations: 7.984 kB / 0.8019 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/1.063, allocations: 84 kB / 0.802 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/1.063, allocations: 52 kB / 0.8021 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004325/1.068, allocations: 2.226 MB / 0.8043 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/1.085, allocations: 11.28 MB / 0.8153 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004066/1.089, allocations: 1.758 MB / 0.817 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/1.091, allocations: 0.91 MB / 0.8179 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009251/1.1, allocations: 6.522 MB / 0.8242 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001913/1.102, allocations: 1.039 MB / 0.8253 GB, free: 244 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=183): time 4.579e-06/1.102, allocations: 3.938 kB / 0.8253 GB, free: 240 kB / 0.6231 GB Notification: Performance of matching and sorting (n=184): time 0.575/1.677, allocations: 6.083 MB / 0.8312 GB, free: 156.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/1.677, allocations: 106.9 kB / 0.8313 GB, free: 156.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/1.68, allocations: 1.836 MB / 0.8331 GB, free: 156.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003251/1.681, allocations: 58.11 kB / 0.8332 GB, free: 156.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/1.682, allocations: 1.075 MB / 0.8342 GB, free: 156.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009466/1.683, allocations: 0.6152 MB / 0.8348 GB, free: 155.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006476/1.683, allocations: 292.5 kB / 0.8351 GB, free: 155.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/1.683, allocations: 302.6 kB / 0.8354 GB, free: 155.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/1.685, allocations: 0.6683 MB / 0.836 GB, free: 155.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/1.687, allocations: 0.8537 MB / 0.8369 GB, free: 155.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/1.691, allocations: 1.668 MB / 0.8385 GB, free: 155.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/1.691, allocations: 1.125 kB / 0.8385 GB, free: 155.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006598/1.697, allocations: 2.555 MB / 0.841 GB, free: 154.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/1.697, allocations: 40.2 kB / 0.841 GB, free: 154.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.698, allocations: 2.312 kB / 0.841 GB, free: 154.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/1.7, allocations: 0.6226 MB / 0.8416 GB, free: 154.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.701, allocations: 297.4 kB / 0.8419 GB, free: 154.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.717, allocations: 16.23 MB / 0.8578 GB, free: 140.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/1.72, allocations: 99.91 kB / 0.8579 GB, free: 140.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/1.72, allocations: 78.02 kB / 0.8579 GB, free: 140.6 MB / 0.6231 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.001429/1.722, allocations: 431.8 kB / 0.8583 GB, free: 140.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/1.722, allocations: 253.6 kB / 0.8586 GB, free: 140.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007114/1.73, allocations: 3.466 MB / 0.862 GB, free: 138.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/1.73, allocations: 20.34 kB / 0.862 GB, free: 138.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.872e-05/1.73, allocations: 7.688 kB / 0.862 GB, free: 138.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.182e-05/1.73, allocations: 13.44 kB / 0.862 GB, free: 138.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/1.741, allocations: 5.162 MB / 0.8671 GB, free: 136.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.741, allocations: 3.156 kB / 0.8671 GB, free: 136.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.742, allocations: 280.2 kB / 0.8673 GB, free: 136.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/1.744, allocations: 0.5528 MB / 0.8679 GB, free: 136.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/1.744, allocations: 66.94 kB / 0.8679 GB, free: 136.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/1.755, allocations: 15.26 MB / 0.8828 GB, free: 122 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.755, allocations: 3.5 kB / 0.8828 GB, free: 122 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007573/1.763, allocations: 3.704 MB / 0.8864 GB, free: 120.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.764, allocations: 325.9 kB / 0.8868 GB, free: 120 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003965/1.764, allocations: 55.56 kB / 0.8868 GB, free: 119.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.765, allocations: 57.36 kB / 0.8869 GB, free: 119.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004602/1.766, allocations: 174.4 kB / 0.887 GB, free: 119.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/1.766, allocations: 69.36 kB / 0.8871 GB, free: 119.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001951/1.768, allocations: 1.309 MB / 0.8884 GB, free: 119.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.41e-07/1.768, allocations: 0 / 0.8884 GB, free: 119.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003661/1.772, allocations: 0.8948 MB / 0.8892 GB, free: 119.1 MB / 0.6231 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.008081/1.78, allocations: 5.166 MB / 0.8943 GB, free: 116.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006686/1.786, allocations: 3.252 MB / 0.8975 GB, free: 114.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.786, allocations: 0 / 0.8975 GB, free: 114.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003307/1.79, allocations: 2.248 MB / 0.8997 GB, free: 112.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004419/1.794, allocations: 0.8174 MB / 0.9005 GB, free: 111.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/1.825, allocations: 22.32 MB / 0.9223 GB, free: 87.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/1.827, allocations: 1.674 MB / 0.9239 GB, free: 86.17 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002042/1.829, allocations: 0.5166 MB / 0.9244 GB, free: 85.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.83, allocations: 1.14 MB / 0.9255 GB, free: 84.58 MB / 0.6231 GB Notification: Performance of SimCode: time 3.356e-06/1.83, allocations: 0 / 0.9255 GB, free: 84.58 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1793/2.009, allocations: 75.92 MB / 0.9996 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/16.05, allocations: 22.84 kB / 0.9997 GB, free: 9.199 MB / 0.6231 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches