Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_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.004608/0.004608, allocations: 97.3 kB / 15.73 MB, free: 6.043 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.001221/0.001221, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.648/0.648, allocations: 89.48 MB / 380 MB, free: 10.94 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 83.81 kB / 0.5139 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.122, allocations: 67.3 MB / 0.5797 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3929/0.5149, allocations: 141.4 MB / 0.7177 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00474/0.5197, allocations: 4.117 MB / 0.7218 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.5199, allocations: 3.938 kB / 0.7218 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005716/0.5205, allocations: 155.1 kB / 0.7219 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.521, allocations: 170.9 kB / 0.7221 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.5213, allocations: 123.6 kB / 0.7222 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.5218, allocations: 318.5 kB / 0.7225 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.522, allocations: 95.38 kB / 0.7226 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.5223, allocations: 139.5 kB / 0.7227 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.5225, allocations: 159.4 kB / 0.7229 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.5226, allocations: 24 kB / 0.7229 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.5231, allocations: 267.5 kB / 0.7232 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.5231, allocations: 39.84 kB / 0.7232 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.5233, allocations: 119.4 kB / 0.7233 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.5237, allocations: 302.6 kB / 0.7236 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5237, allocations: 4 kB / 0.7236 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5237, allocations: 3.938 kB / 0.7236 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5237, allocations: 0 / 0.7236 GB, free: 9.051 MB / 0.5606 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.0008228/0.5246, allocations: 0.5221 MB / 0.7241 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5246, allocations: 12.03 kB / 0.7241 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.829e-05/0.5247, allocations: 54.72 kB / 0.7242 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.5247, allocations: 24.8 kB / 0.7242 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.525, allocations: 240.7 kB / 0.7244 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.525, allocations: 20.69 kB / 0.7245 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.5251, allocations: 16.56 kB / 0.7245 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.5254, allocations: 245.5 kB / 0.7247 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.5254, allocations: 0 / 0.7247 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.5255, allocations: 4 kB / 0.7247 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.5255, allocations: 4 kB / 0.7247 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.5257, allocations: 127.9 kB / 0.7248 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.5267, allocations: 0.742 MB / 0.7256 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.527, allocations: 130.5 kB / 0.7257 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.5272, allocations: 68.83 kB / 0.7257 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.5274, allocations: 247.3 kB / 0.726 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.5274, allocations: 38.56 kB / 0.726 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.5274, allocations: 0 / 0.726 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001547/0.529, allocations: 0.8912 MB / 0.7269 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.529, allocations: 59.34 kB / 0.7269 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.5293, allocations: 233 kB / 0.7272 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.5293, allocations: 29.7 kB / 0.7272 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.5294, allocations: 132.4 kB / 0.7273 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.5294, allocations: 55.48 kB / 0.7274 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.5295, allocations: 37.7 kB / 0.7274 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5297, allocations: 334.8 kB / 0.7277 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.5298, allocations: 48.86 kB / 0.7278 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.691e-05/0.5299, allocations: 65.69 kB / 0.7278 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.5301, allocations: 127.7 kB / 0.728 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5301, allocations: 0 / 0.728 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004478/0.5305, allocations: 258 kB / 0.7282 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5306, allocations: 7.984 kB / 0.7282 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.5306, allocations: 4 kB / 0.7282 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.5309, allocations: 96.77 kB / 0.7283 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.531, allocations: 19.11 kB / 0.7283 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.5331, allocations: 1.952 MB / 0.7302 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.518e-05/0.5332, allocations: 3.938 kB / 0.7302 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.5332, allocations: 8 kB / 0.7302 GB, free: 1.688 MB / 0.5606 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.0001199/0.5334, allocations: 138.4 kB / 0.7304 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.5334, allocations: 27.86 kB / 0.7304 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/0.5339, allocations: 276 kB / 0.7307 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5339, allocations: 0 / 0.7307 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.534, allocations: 7.938 kB / 0.7307 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.534, allocations: 7.938 kB / 0.7307 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007663/0.5347, allocations: 0.5835 MB / 0.7313 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5347, allocations: 0 / 0.7313 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.5348, allocations: 15.92 kB / 0.7313 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002704/0.5351, allocations: 96.81 kB / 0.7314 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.5351, allocations: 4 kB / 0.7314 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.5372, allocations: 1.952 MB / 0.7333 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5372, allocations: 0.875 kB / 0.7333 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.5378, allocations: 416.3 kB / 0.7337 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.5379, allocations: 89.11 kB / 0.7338 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.5379, allocations: 11.94 kB / 0.7338 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.538, allocations: 7.984 kB / 0.7338 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.5381, allocations: 16.02 kB / 0.7338 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.5381, allocations: 4 kB / 0.7338 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001833/0.5383, allocations: 184.5 kB / 0.734 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5383, allocations: 0 / 0.734 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003616/0.5386, allocations: 79.94 kB / 0.734 GB, free: 13.52 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.001014/0.5397, allocations: 1.001 MB / 0.735 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005999/0.5403, allocations: 299 kB / 0.7353 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5403, allocations: 0 / 0.7353 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.5407, allocations: 247.1 kB / 0.7355 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.5413, allocations: 95.89 kB / 0.7356 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.5447, allocations: 2.724 MB / 0.7383 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.5451, allocations: 0.7517 MB / 0.739 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.835e-05/0.5452, allocations: 30.23 kB / 0.7391 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.5453, allocations: 59.36 kB / 0.7391 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.5453, allocations: 0 / 0.7391 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.5825, allocations: 7.758 MB / 0.7467 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.835/10.42, allocations: 15.72 kB / 0.7467 GB, free: 0.5039 MB / 0.5762 GB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches