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.005096/0.005097, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.0013/0.0013, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.631/0.631, allocations: 91.2 MB / 381.7 MB, free: 9.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 79.88 kB / 0.5164 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1207, allocations: 67.69 MB / 0.5825 GB, free: 5.785 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3926/0.5133, allocations: 141.5 MB / 0.7207 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004352/0.5177, allocations: 4.154 MB / 0.7247 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.5181, allocations: 15.88 kB / 0.7247 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.5187, allocations: 165.6 kB / 0.7249 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006348/0.5194, allocations: 198.7 kB / 0.7251 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.5198, allocations: 123.6 kB / 0.7252 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000566/0.5204, allocations: 382.2 kB / 0.7256 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.5207, allocations: 110.2 kB / 0.7257 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.5212, allocations: 179.2 kB / 0.7258 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.5215, allocations: 179.3 kB / 0.726 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.5216, allocations: 16 kB / 0.726 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.5221, allocations: 263.6 kB / 0.7263 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.5222, allocations: 47.8 kB / 0.7263 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.5224, allocations: 151.1 kB / 0.7265 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.5229, allocations: 378.8 kB / 0.7268 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.523, allocations: 0 / 0.7268 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.523, allocations: 0 / 0.7268 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.523, allocations: 0 / 0.7268 GB, free: 4.684 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.0009499/0.5239, allocations: 0.5901 MB / 0.7274 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.524, allocations: 12.03 kB / 0.7274 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.5241, allocations: 50.73 kB / 0.7275 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.818e-05/0.5241, allocations: 44.45 kB / 0.7275 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.5247, allocations: 363.2 kB / 0.7278 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.5247, allocations: 17.62 kB / 0.7279 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.5248, allocations: 24.47 kB / 0.7279 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.5251, allocations: 233.5 kB / 0.7281 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5251, allocations: 0 / 0.7281 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.5252, allocations: 4 kB / 0.7281 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5252, allocations: 4 kB / 0.7281 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.5254, allocations: 135.9 kB / 0.7282 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5264, allocations: 0.7497 MB / 0.729 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.5268, allocations: 138.5 kB / 0.7291 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.5269, allocations: 76.7 kB / 0.7292 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.5271, allocations: 247.3 kB / 0.7294 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.5271, allocations: 34.56 kB / 0.7295 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.645e-06/0.5271, allocations: 3.984 kB / 0.7295 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00157/0.5287, allocations: 0.9101 MB / 0.7303 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.5287, allocations: 51.41 kB / 0.7304 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.5291, allocations: 333.7 kB / 0.7307 GB, free: 340 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.5291, allocations: 29.7 kB / 0.7307 GB, free: 304 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.5292, allocations: 168.3 kB / 0.7309 GB, free: 128 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.5293, allocations: 55.2 kB / 0.731 GB, free: 72 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.5293, allocations: 37.7 kB / 0.731 GB, free: 28 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5295, allocations: 338.9 kB / 0.7313 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.5296, allocations: 48.78 kB / 0.7314 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/0.5297, allocations: 76.22 kB / 0.7314 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.5299, allocations: 123.7 kB / 0.7315 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5299, allocations: 0 / 0.7315 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004559/0.5303, allocations: 273.8 kB / 0.7318 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5304, allocations: 5.719 kB / 0.7318 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5304, allocations: 0 / 0.7318 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.5307, allocations: 88.78 kB / 0.7319 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.5308, allocations: 26.44 kB / 0.7319 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.5327, allocations: 1.957 MB / 0.7338 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.744e-05/0.5328, allocations: 3.938 kB / 0.7338 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.5328, allocations: 8 kB / 0.7338 GB, free: 12.93 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.000129/0.5329, allocations: 154.5 kB / 0.734 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.533, allocations: 31.62 kB / 0.734 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.5335, allocations: 280 kB / 0.7343 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5335, allocations: 8 kB / 0.7343 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5335, allocations: 3.938 kB / 0.7343 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5335, allocations: 0 / 0.7343 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007432/0.5343, allocations: 0.6071 MB / 0.7349 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5343, allocations: 3.984 kB / 0.7349 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.5343, allocations: 8.094 kB / 0.7349 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.5346, allocations: 109.3 kB / 0.735 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.5346, allocations: 8 kB / 0.735 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.5365, allocations: 1.943 MB / 0.7369 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5365, allocations: 11.94 kB / 0.7369 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.537, allocations: 402.2 kB / 0.7373 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.5371, allocations: 105.6 kB / 0.7374 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.5371, allocations: 11.98 kB / 0.7374 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5372, allocations: 7.922 kB / 0.7374 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.5373, allocations: 15.98 kB / 0.7374 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.5373, allocations: 4 kB / 0.7375 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002236/0.5375, allocations: 243.5 kB / 0.7377 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5375, allocations: 4 kB / 0.7377 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003623/0.5379, allocations: 83.98 kB / 0.7378 GB, free: 8.629 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.0009045/0.5388, allocations: 1.005 MB / 0.7388 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005732/0.5394, allocations: 305.3 kB / 0.739 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5394, allocations: 4 kB / 0.739 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.5398, allocations: 242.5 kB / 0.7393 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.5404, allocations: 98.34 kB / 0.7394 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.544, allocations: 3.088 MB / 0.7424 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.5444, allocations: 0.7756 MB / 0.7431 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.5445, allocations: 34.91 kB / 0.7432 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.5446, allocations: 91.39 kB / 0.7433 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.5446, allocations: 0 / 0.7433 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0367/0.5813, allocations: 9.008 MB / 0.7521 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.169/9.75, allocations: 3.984 kB / 0.7521 GB, free: 9.949 MB / 0.5919 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