Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",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.008466/0.008466, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.002011/0.002011, allocations: 196.9 kB / 16.67 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6814/0.6814, allocations: 91.19 MB / 381.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 75.88 kB / 0.5164 GB, free: 9.527 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1184, allocations: 67.7 MB / 0.5825 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4347/0.5532, allocations: 144.5 MB / 0.7235 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004928/0.5581, allocations: 4.539 MB / 0.728 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.5585, allocations: 23.81 kB / 0.728 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.5591, allocations: 202.7 kB / 0.7282 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006734/0.5599, allocations: 286.3 kB / 0.7285 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.5609, allocations: 430.4 kB / 0.7289 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009155/0.5619, allocations: 0.666 MB / 0.7295 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.5621, allocations: 120.8 kB / 0.7296 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006892/0.5628, allocations: 366.5 kB / 0.73 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.5633, allocations: 314.9 kB / 0.7303 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.5634, allocations: 32 kB / 0.7303 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008456/0.5642, allocations: 459.1 kB / 0.7308 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.5643, allocations: 107.7 kB / 0.7309 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.5645, allocations: 206.9 kB / 0.7311 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007997/0.5654, allocations: 0.6193 MB / 0.7317 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5654, allocations: 0 / 0.7317 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.262e-06/0.5654, allocations: 0 / 0.7317 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.5654, allocations: 3.938 kB / 0.7317 GB, free: 15.66 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001552/0.5669, allocations: 0.7874 MB / 0.7324 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.567, allocations: 11.97 kB / 0.7324 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.984e-05/0.5671, allocations: 66.72 kB / 0.7325 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.5672, allocations: 48.38 kB / 0.7326 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.5679, allocations: 454 kB / 0.733 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.5679, allocations: 16.94 kB / 0.733 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.5679, allocations: 28.47 kB / 0.733 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.5686, allocations: 449.1 kB / 0.7335 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.5687, allocations: 0 / 0.7335 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.5687, allocations: 15.98 kB / 0.7335 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.5687, allocations: 16.55 kB / 0.7335 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.5694, allocations: 485.7 kB / 0.734 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.5714, allocations: 1.431 MB / 0.7353 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.5719, allocations: 243 kB / 0.7356 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.5722, allocations: 209.9 kB / 0.7358 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/0.5725, allocations: 336.9 kB / 0.7361 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.5726, allocations: 38.56 kB / 0.7361 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 3.837e-06/0.5726, allocations: 3.984 kB / 0.7361 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002506/0.5751, allocations: 1.527 MB / 0.7376 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.5752, allocations: 55.41 kB / 0.7377 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.5755, allocations: 370 kB / 0.738 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.5756, allocations: 33.7 kB / 0.7381 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.5757, allocations: 184.7 kB / 0.7382 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.5758, allocations: 118.3 kB / 0.7384 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.5759, allocations: 65.67 kB / 0.7384 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5761, allocations: 358.7 kB / 0.7388 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.5763, allocations: 147.8 kB / 0.7389 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.5766, allocations: 147.8 kB / 0.739 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.5771, allocations: 340.5 kB / 0.7394 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5771, allocations: 0 / 0.7394 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008764/0.578, allocations: 0.5214 MB / 0.7399 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.578, allocations: 5.406 kB / 0.7399 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.578, allocations: 4 kB / 0.7399 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.5784, allocations: 112.8 kB / 0.74 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.5787, allocations: 55.89 kB / 0.7401 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.5817, allocations: 2.333 MB / 0.7423 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.582, allocations: 8 kB / 0.7423 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.5821, allocations: 12.03 kB / 0.7423 GB, free: 4.105 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.5823, allocations: 176.2 kB / 0.7425 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.5825, allocations: 47.44 kB / 0.7426 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.5836, allocations: 0.6497 MB / 0.7432 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.5836, allocations: 4 kB / 0.7432 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5837, allocations: 0 / 0.7432 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5837, allocations: 8 kB / 0.7432 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.5842, allocations: 433.3 kB / 0.7436 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5842, allocations: 3.938 kB / 0.7436 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.5844, allocations: 35.95 kB / 0.7437 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/0.5847, allocations: 128.6 kB / 0.7438 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.5848, allocations: 7.984 kB / 0.7438 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.5873, allocations: 2.331 MB / 0.7461 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5873, allocations: 4 kB / 0.7461 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.5884, allocations: 0.6611 MB / 0.7467 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.5886, allocations: 112.7 kB / 0.7468 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.5886, allocations: 8 kB / 0.7468 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.5888, allocations: 4 kB / 0.7468 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.5889, allocations: 31.89 kB / 0.7469 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.5889, allocations: 7.984 kB / 0.7469 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003432/0.5893, allocations: 303.1 kB / 0.7472 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5893, allocations: 0 / 0.7472 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005457/0.5898, allocations: 104 kB / 0.7473 GB, free: 14.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001567/0.5914, allocations: 1.269 MB / 0.7485 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.5925, allocations: 0.5178 MB / 0.749 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5925, allocations: 0 / 0.749 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006195/0.5931, allocations: 370.2 kB / 0.7494 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.5937, allocations: 108.2 kB / 0.7495 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/0.5994, allocations: 4.014 MB / 0.7534 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.5999, allocations: 0.8231 MB / 0.7542 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000274/0.6002, allocations: 91.14 kB / 0.7543 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.6004, allocations: 147.4 kB / 0.7544 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of SimCode: time 8.81e-07/0.6004, allocations: 0 / 0.7544 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.6367, allocations: 11.78 MB / 0.7659 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.65, allocations: 15.42 kB / 0.7659 GB, free: 11.68 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches