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.00563/0.00563, allocations: 101.7 kB / 15.73 MB, free: 6.43 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.001447/0.001447, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7072/0.7072, allocations: 91.19 MB / 381.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 83.88 kB / 0.5164 GB, free: 9.484 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1294, allocations: 67.69 MB / 0.5825 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5248/0.6542, allocations: 225 MB / 0.8022 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03529/0.6896, allocations: 30.88 MB / 0.8324 GB, free: 8.082 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/0.6928, allocations: 135.1 kB / 0.8325 GB, free: 7.949 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00519/0.698, allocations: 1.732 MB / 0.8342 GB, free: 6.207 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008661/0.7068, allocations: 2.707 MB / 0.8368 GB, free: 3.484 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00783/0.7146, allocations: 2.596 MB / 0.8394 GB, free: 0.875 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.4012/1.116, allocations: 4.733 MB / 0.844 GB, free: 7.543 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/1.118, allocations: 1.056 MB / 0.845 GB, free: 23.26 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005509/1.124, allocations: 2.393 MB / 0.8474 GB, free: 23.26 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004978/1.129, allocations: 2.283 MB / 0.8496 GB, free: 23.26 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/1.13, allocations: 267.2 kB / 0.8498 GB, free: 23.26 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009929/1.14, allocations: 3.724 MB / 0.8535 GB, free: 23.26 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/1.141, allocations: 0.6289 MB / 0.8541 GB, free: 23.26 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003632/1.145, allocations: 1.551 MB / 0.8556 GB, free: 23.19 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01244/1.157, allocations: 4.96 MB / 0.8604 GB, free: 22.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.157, allocations: 0.9062 kB / 0.8604 GB, free: 22.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.355e-06/1.157, allocations: 1.156 kB / 0.8604 GB, free: 22.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001571/1.158, allocations: 0.75 kB / 0.8604 GB, free: 22.46 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.01122/1.169, allocations: 3.639 MB / 0.864 GB, free: 20.81 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.249e-05/1.169, allocations: 10.91 kB / 0.864 GB, free: 20.81 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006233/1.17, allocations: 293.3 kB / 0.8643 GB, free: 20.75 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/1.171, allocations: 359.2 kB / 0.8646 GB, free: 20.57 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/1.176, allocations: 2.018 MB / 0.8666 GB, free: 19.99 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/1.177, allocations: 159.7 kB / 0.8668 GB, free: 19.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008927/1.177, allocations: 223.7 kB / 0.867 GB, free: 19.97 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006054/1.183, allocations: 2.473 MB / 0.8694 GB, free: 19.69 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.03e-05/1.184, allocations: 5.188 kB / 0.8694 GB, free: 19.69 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/1.184, allocations: 84.28 kB / 0.8695 GB, free: 19.69 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/1.184, allocations: 51.53 kB / 0.8695 GB, free: 19.69 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004597/1.188, allocations: 2.227 MB / 0.8717 GB, free: 19.66 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/1.208, allocations: 11.21 MB / 0.8826 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003894/1.212, allocations: 1.754 MB / 0.8844 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/1.214, allocations: 0.9032 MB / 0.8852 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009882/1.224, allocations: 6.537 MB / 0.8916 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002028/1.226, allocations: 1.036 MB / 0.8926 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=183): time 5.941e-06/1.226, allocations: 3.188 kB / 0.8926 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of matching and sorting (n=184): time 0.01444/1.241, allocations: 6.161 MB / 0.8987 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/1.241, allocations: 96.11 kB / 0.8987 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/1.244, allocations: 1.842 MB / 0.9005 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004496/1.244, allocations: 60.92 kB / 0.9006 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008134/1.245, allocations: 1.083 MB / 0.9017 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007614/1.246, allocations: 0.6526 MB / 0.9023 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008905/1.247, allocations: 292.2 kB / 0.9026 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/1.247, allocations: 307.5 kB / 0.9029 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/1.248, allocations: 0.6762 MB / 0.9035 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/1.25, allocations: 0.8532 MB / 0.9044 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/1.253, allocations: 1.666 MB / 0.906 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/1.253, allocations: 0 / 0.906 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005549/1.258, allocations: 2.564 MB / 0.9085 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/1.258, allocations: 36.05 kB / 0.9085 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.259, allocations: 2.531 kB / 0.9085 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/1.26, allocations: 0.6274 MB / 0.9091 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.262, allocations: 293 kB / 0.9094 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0168/1.279, allocations: 16.22 MB / 0.9253 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.281, allocations: 106.6 kB / 0.9254 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004946/1.281, allocations: 71.39 kB / 0.9254 GB, free: 8.266 MB / 0.7012 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.001408/1.283, allocations: 435.1 kB / 0.9258 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008802/1.283, allocations: 272.4 kB / 0.9261 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/1.29, allocations: 3.46 MB / 0.9295 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.254e-05/1.291, allocations: 21 kB / 0.9295 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.114e-05/1.291, allocations: 12 kB / 0.9295 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/1.291, allocations: 11.11 kB / 0.9295 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/1.301, allocations: 5.154 MB / 0.9346 GB, free: 6.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/1.301, allocations: 7.344 kB / 0.9346 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.303, allocations: 288.7 kB / 0.9348 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/1.304, allocations: 0.5363 MB / 0.9354 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002683/1.305, allocations: 70.09 kB / 0.9354 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/1.317, allocations: 15.26 MB / 0.9503 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.317, allocations: 4.125 kB / 0.9503 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008229/1.326, allocations: 3.712 MB / 0.954 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000919/1.327, allocations: 343 kB / 0.9543 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007194/1.327, allocations: 63 kB / 0.9544 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.329, allocations: 59.97 kB / 0.9544 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000449/1.329, allocations: 172.8 kB / 0.9546 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/1.33, allocations: 67.97 kB / 0.9546 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002168/1.332, allocations: 1.308 MB / 0.9559 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.332, allocations: 0 / 0.9559 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003982/1.336, allocations: 0.8936 MB / 0.9568 GB, free: 3.363 MB / 0.7169 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.009588/1.345, allocations: 5.189 MB / 0.9619 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006036/1.351, allocations: 3.086 MB / 0.9649 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.351, allocations: 0 / 0.9649 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00397/1.355, allocations: 2.254 MB / 0.9671 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005358/1.361, allocations: 0.823 MB / 0.9679 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04002/1.401, allocations: 19.02 MB / 0.9865 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/1.403, allocations: 1.675 MB / 0.9881 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002378/1.405, allocations: 0.5112 MB / 0.9886 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/1.407, allocations: 1.14 MB / 0.9897 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of SimCode: time 1.072e-06/1.407, allocations: 0 / 0.9897 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1904/1.597, allocations: 76.94 MB / 1.065 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/18.27, allocations: 7.938 kB / 1.065 GB, free: 5.105 MB / 0.8262 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