Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.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.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",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.007372/0.007372, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.002101/0.002101, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7868/0.7868, allocations: 93.7 MB / 384.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 79.88 kB / 0.5199 GB, free: 1.117 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3546, allocations: 68.26 MB / 0.5866 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1594/0.5141, allocations: 141.5 MB / 0.7248 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004767/0.5189, allocations: 4.161 MB / 0.7289 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.5193, allocations: 19.88 kB / 0.7289 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.5201, allocations: 163 kB / 0.729 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006295/0.5208, allocations: 206.7 kB / 0.7292 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.5213, allocations: 127.5 kB / 0.7294 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005341/0.5218, allocations: 414.2 kB / 0.7298 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.5221, allocations: 101.8 kB / 0.7299 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.5225, allocations: 195.1 kB / 0.73 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.5228, allocations: 183.2 kB / 0.7302 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.5228, allocations: 20 kB / 0.7302 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005711/0.5234, allocations: 259.6 kB / 0.7305 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.5235, allocations: 55.7 kB / 0.7305 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.5236, allocations: 139.2 kB / 0.7307 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.5242, allocations: 387.8 kB / 0.731 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5242, allocations: 0 / 0.731 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5243, allocations: 0 / 0.731 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.5243, allocations: 0 / 0.731 GB, free: 5.781 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001065/0.5253, allocations: 0.6191 MB / 0.7316 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5254, allocations: 12.03 kB / 0.7316 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.5255, allocations: 54.67 kB / 0.7317 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.5255, allocations: 48.64 kB / 0.7317 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.5261, allocations: 375.5 kB / 0.7321 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.5261, allocations: 20.75 kB / 0.7321 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.5262, allocations: 16.38 kB / 0.7321 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.5266, allocations: 229.6 kB / 0.7324 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5266, allocations: 0 / 0.7324 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.5266, allocations: 7.984 kB / 0.7324 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.5266, allocations: 4 kB / 0.7324 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.5269, allocations: 131.9 kB / 0.7325 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.528, allocations: 0.7694 MB / 0.7332 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.5283, allocations: 134.5 kB / 0.7334 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.5284, allocations: 69.06 kB / 0.7334 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.5286, allocations: 247.3 kB / 0.7337 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.5287, allocations: 34.5 kB / 0.7337 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.5287, allocations: 0 / 0.7337 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001725/0.5304, allocations: 0.9177 MB / 0.7346 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.5305, allocations: 63.39 kB / 0.7347 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.5308, allocations: 329.7 kB / 0.735 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.5309, allocations: 33.7 kB / 0.735 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.531, allocations: 168.4 kB / 0.7352 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.5311, allocations: 59.48 kB / 0.7352 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.5311, allocations: 41.66 kB / 0.7353 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5313, allocations: 342.8 kB / 0.7356 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.5314, allocations: 55.91 kB / 0.7357 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.5315, allocations: 70.91 kB / 0.7357 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.5317, allocations: 120.7 kB / 0.7358 GB, free: 468 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5317, allocations: 0 / 0.7358 GB, free: 468 kB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004863/0.5322, allocations: 277.9 kB / 0.7361 GB, free: 180 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5322, allocations: 5.25 kB / 0.7361 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.5322, allocations: 3.984 kB / 0.7361 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.5326, allocations: 88.73 kB / 0.7362 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.5327, allocations: 27.92 kB / 0.7362 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2543/0.787, allocations: 1.941 MB / 0.7381 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.7871, allocations: 5.5 kB / 0.7381 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.7872, allocations: 9.422 kB / 0.7381 GB, free: 150.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.7873, allocations: 150 kB / 0.7383 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.7874, allocations: 38.95 kB / 0.7383 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.7879, allocations: 289.5 kB / 0.7386 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7879, allocations: 2.875 kB / 0.7386 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7879, allocations: 5.594 kB / 0.7386 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7879, allocations: 1.594 kB / 0.7386 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007189/0.7886, allocations: 0.6175 MB / 0.7392 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7886, allocations: 1.719 kB / 0.7392 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.7887, allocations: 11.83 kB / 0.7392 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/0.789, allocations: 97.78 kB / 0.7393 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.789, allocations: 8.641 kB / 0.7393 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.7906, allocations: 1.953 MB / 0.7412 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7907, allocations: 3.938 kB / 0.7412 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.7911, allocations: 410.4 kB / 0.7416 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.7912, allocations: 106.5 kB / 0.7417 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.7912, allocations: 11.62 kB / 0.7417 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.7914, allocations: 4.906 kB / 0.7417 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.7914, allocations: 11.17 kB / 0.7417 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.7914, allocations: 10.2 kB / 0.7418 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002339/0.7917, allocations: 251.2 kB / 0.742 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.32e-07/0.7917, allocations: 0 / 0.742 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003755/0.792, allocations: 82.86 kB / 0.7421 GB, free: 147.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008042/0.7929, allocations: 1.02 MB / 0.7431 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.7934, allocations: 303.1 kB / 0.7434 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7935, allocations: 3 kB / 0.7434 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.7938, allocations: 236.2 kB / 0.7436 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.7945, allocations: 102.9 kB / 0.7437 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.7982, allocations: 3.122 MB / 0.7467 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.7985, allocations: 0.7811 MB / 0.7475 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000134/0.7987, allocations: 38.69 kB / 0.7475 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.7988, allocations: 99.58 kB / 0.7476 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.7988, allocations: 0.5312 kB / 0.7476 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.8327, allocations: 8.994 MB / 0.7564 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.843/10.68, allocations: 0 / 0.7564 GB, free: 136.6 MB / 0.5762 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches