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-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_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.001322/0.001323, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001372/0.001372, allocations: 187.5 kB / 16.25 MB, free: 6.637 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.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6348/0.6348, allocations: 91.2 MB / 381.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 85.06 kB / 459.9 MB, free: 23.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 67.7 MB / 0.5153 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3479/0.4535, allocations: 139.9 MB / 0.6519 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.4576, allocations: 4.182 MB / 0.656 GB, free: 6.984 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.4581, allocations: 17.94 kB / 0.656 GB, free: 6.977 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005712/0.4587, allocations: 136.1 kB / 0.6561 GB, free: 6.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.4592, allocations: 189.2 kB / 0.6563 GB, free: 6.719 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.4595, allocations: 115.6 kB / 0.6564 GB, free: 6.633 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.4599, allocations: 372.3 kB / 0.6567 GB, free: 6.418 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.4601, allocations: 105.4 kB / 0.6568 GB, free: 6.363 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.4605, allocations: 183.1 kB / 0.657 GB, free: 6.254 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.4607, allocations: 181.9 kB / 0.6572 GB, free: 6.148 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.4607, allocations: 18.25 kB / 0.6572 GB, free: 6.148 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.4612, allocations: 275.3 kB / 0.6575 GB, free: 6.031 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.4613, allocations: 52.41 kB / 0.6575 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.4614, allocations: 139.2 kB / 0.6577 GB, free: 5.898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.4619, allocations: 365.8 kB / 0.658 GB, free: 5.668 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4619, allocations: 1.219 kB / 0.658 GB, free: 5.668 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4619, allocations: 4 kB / 0.658 GB, free: 5.664 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.462, allocations: 3.938 kB / 0.658 GB, free: 5.66 MB / 478.1 MB 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.0008761/0.4628, allocations: 0.592 MB / 0.6586 GB, free: 5.117 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.4629, allocations: 8.25 kB / 0.6586 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.4629, allocations: 54.03 kB / 0.6586 GB, free: 5.062 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.463, allocations: 38.47 kB / 0.6587 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.4634, allocations: 330.7 kB / 0.659 GB, free: 4.738 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4634, allocations: 16.12 kB / 0.659 GB, free: 4.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.4634, allocations: 20.62 kB / 0.659 GB, free: 4.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.4638, allocations: 237 kB / 0.6593 GB, free: 4.562 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4638, allocations: 0 / 0.6593 GB, free: 4.562 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.4638, allocations: 6.562 kB / 0.6593 GB, free: 4.559 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4638, allocations: 4.281 kB / 0.6593 GB, free: 4.559 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.464, allocations: 125.8 kB / 0.6594 GB, free: 4.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.465, allocations: 0.7692 MB / 0.6601 GB, free: 3.836 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.4653, allocations: 139.9 kB / 0.6603 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4654, allocations: 69.31 kB / 0.6603 GB, free: 3.715 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.4656, allocations: 246.8 kB / 0.6606 GB, free: 3.426 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.4656, allocations: 33.44 kB / 0.6606 GB, free: 3.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.143e-06/0.4656, allocations: 0 / 0.6606 GB, free: 3.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001425/0.467, allocations: 0.9205 MB / 0.6615 GB, free: 2.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.4671, allocations: 58.39 kB / 0.6616 GB, free: 2.516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.4674, allocations: 324.2 kB / 0.6619 GB, free: 2.309 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.4674, allocations: 31.58 kB / 0.6619 GB, free: 2.273 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.4675, allocations: 168 kB / 0.6621 GB, free: 2.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.4675, allocations: 64.12 kB / 0.6621 GB, free: 2.062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.4676, allocations: 34.28 kB / 0.6622 GB, free: 2.035 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4677, allocations: 342.4 kB / 0.6625 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.4678, allocations: 46.7 kB / 0.6625 GB, free: 1.676 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.4679, allocations: 65.38 kB / 0.6626 GB, free: 1.633 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.4681, allocations: 128.5 kB / 0.6627 GB, free: 1.559 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4681, allocations: 3.938 kB / 0.6627 GB, free: 1.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004194/0.4685, allocations: 276.8 kB / 0.663 GB, free: 1.391 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.4685, allocations: 4.812 kB / 0.663 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4685, allocations: 2.031 kB / 0.663 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.4688, allocations: 89.11 kB / 0.6631 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.4689, allocations: 19.08 kB / 0.6631 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.4707, allocations: 1.944 MB / 0.665 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.598e-05/0.4708, allocations: 6.469 kB / 0.665 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.4709, allocations: 8.781 kB / 0.665 GB, free: 15.56 MB / 494.1 MB 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.0001177/0.471, allocations: 144.2 kB / 0.6651 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.471, allocations: 30.62 kB / 0.6652 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.4715, allocations: 291.8 kB / 0.6655 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4715, allocations: 2.125 kB / 0.6655 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4715, allocations: 6.469 kB / 0.6655 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.4715, allocations: 0 / 0.6655 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.4722, allocations: 0.6165 MB / 0.6661 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.4722, allocations: 2.219 kB / 0.6661 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.4723, allocations: 17.64 kB / 0.6661 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002675/0.4726, allocations: 96.33 kB / 0.6662 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4726, allocations: 6.5 kB / 0.6662 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.4743, allocations: 1.959 MB / 0.6681 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4743, allocations: 0 / 0.6681 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.4748, allocations: 410.6 kB / 0.6685 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.4749, allocations: 106.9 kB / 0.6686 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.4749, allocations: 7.938 kB / 0.6686 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.475, allocations: 5.969 kB / 0.6686 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.4751, allocations: 22.81 kB / 0.6686 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.4751, allocations: 2.562 kB / 0.6686 GB, free: 12.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.4753, allocations: 246.6 kB / 0.6689 GB, free: 12.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4753, allocations: 2.531 kB / 0.6689 GB, free: 12.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.4757, allocations: 68 kB / 0.6689 GB, free: 12.18 MB / 494.1 MB 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.0008388/0.4765, allocations: 1.019 MB / 0.6699 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005067/0.477, allocations: 303.3 kB / 0.6702 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.477, allocations: 0 / 0.6702 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.4774, allocations: 247 kB / 0.6704 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.478, allocations: 107.6 kB / 0.6705 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.4814, allocations: 3.16 MB / 0.6736 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.4817, allocations: 0.773 MB / 0.6744 GB, free: 7.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.856e-05/0.4818, allocations: 31 kB / 0.6744 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.4819, allocations: 97.89 kB / 0.6745 GB, free: 7.656 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4819, allocations: 3.938 kB / 0.6745 GB, free: 7.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06189/0.5438, allocations: 8.68 MB / 0.683 GB, free: 3.461 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.5441, allocations: 220.3 kB / 0.6832 GB, free: 3.207 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.49, allocations: 0 / 0.6832 GB, free: 3.207 MB / 494.1 MB (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