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.005451/0.005451, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001186/0.001186, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.346/1.346, 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.6837/0.6837, allocations: 91.21 MB / 381.7 MB, free: 9.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 79.88 kB / 0.5164 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1527, allocations: 67.7 MB / 0.5825 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4604/0.6132, allocations: 144.5 MB / 0.7236 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005056/0.6183, allocations: 4.541 MB / 0.728 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.6187, allocations: 23.81 kB / 0.728 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006679/0.6194, allocations: 210.7 kB / 0.7282 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000752/0.6202, allocations: 282.3 kB / 0.7285 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.6213, allocations: 426.4 kB / 0.7289 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007778/0.6221, allocations: 0.6582 MB / 0.7295 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.6223, allocations: 132.8 kB / 0.7297 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000748/0.6231, allocations: 358.5 kB / 0.73 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.6236, allocations: 322.9 kB / 0.7303 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-05/0.6237, allocations: 32 kB / 0.7303 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.6248, allocations: 463 kB / 0.7308 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.6249, allocations: 103.7 kB / 0.7309 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.6251, allocations: 206.9 kB / 0.7311 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.6261, allocations: 0.623 MB / 0.7317 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6262, allocations: 4 kB / 0.7317 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6262, allocations: 0 / 0.7317 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.6262, allocations: 0 / 0.7317 GB, free: 15.63 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.001579/0.6278, allocations: 0.7941 MB / 0.7325 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.6278, allocations: 8.031 kB / 0.7325 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.537e-05/0.6279, allocations: 66.72 kB / 0.7325 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.952e-05/0.628, allocations: 44.38 kB / 0.7326 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.6287, allocations: 458 kB / 0.733 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.6288, allocations: 16.88 kB / 0.733 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.6288, allocations: 28.47 kB / 0.7331 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.6295, allocations: 445.2 kB / 0.7335 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6295, allocations: 4 kB / 0.7335 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.6296, allocations: 11.98 kB / 0.7335 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.6296, allocations: 24.55 kB / 0.7335 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006872/0.6303, allocations: 477.8 kB / 0.734 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.6324, allocations: 1.427 MB / 0.7354 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.6328, allocations: 246.5 kB / 0.7356 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.6331, allocations: 212.8 kB / 0.7358 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.6334, allocations: 336.9 kB / 0.7361 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.6335, allocations: 38.5 kB / 0.7362 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.6335, allocations: 4 kB / 0.7362 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002583/0.6361, allocations: 1.523 MB / 0.7377 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.6361, allocations: 55.41 kB / 0.7377 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.6365, allocations: 370 kB / 0.7381 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.6366, allocations: 29.7 kB / 0.7381 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.6367, allocations: 188.7 kB / 0.7383 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.6368, allocations: 114.3 kB / 0.7384 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.6369, allocations: 61.67 kB / 0.7384 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6371, allocations: 362.7 kB / 0.7388 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.6373, allocations: 143.9 kB / 0.7389 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.6375, allocations: 155.8 kB / 0.7391 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.638, allocations: 332.6 kB / 0.7394 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6381, allocations: 0 / 0.7394 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008689/0.6389, allocations: 0.5175 MB / 0.7399 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.639, allocations: 10.5 kB / 0.7399 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.639, allocations: 3.938 kB / 0.7399 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000363/0.6393, allocations: 120.7 kB / 0.74 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.6396, allocations: 59.81 kB / 0.7401 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.6422, allocations: 2.326 MB / 0.7423 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.6424, allocations: 12 kB / 0.7424 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.6425, allocations: 15.92 kB / 0.7424 GB, free: 4.078 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.0002259/0.6427, allocations: 168.3 kB / 0.7425 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6428, allocations: 43.55 kB / 0.7426 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.6439, allocations: 0.6568 MB / 0.7432 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.6439, allocations: 4 kB / 0.7432 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6439, allocations: 4 kB / 0.7432 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6439, allocations: 0 / 0.7432 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.6444, allocations: 433.3 kB / 0.7436 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.6444, allocations: 3.938 kB / 0.7436 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.6446, allocations: 35.89 kB / 0.7437 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003381/0.645, allocations: 124.7 kB / 0.7438 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.645, allocations: 11.98 kB / 0.7438 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.6475, allocations: 2.338 MB / 0.7461 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6475, allocations: 4 kB / 0.7461 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.6486, allocations: 0.6532 MB / 0.7467 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.6487, allocations: 108.7 kB / 0.7468 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.6488, allocations: 16.84 kB / 0.7469 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.6489, allocations: 4 kB / 0.7469 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.649, allocations: 23.95 kB / 0.7469 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.6491, allocations: 15.98 kB / 0.7469 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003301/0.6494, allocations: 299.1 kB / 0.7472 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6494, allocations: 0 / 0.7472 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004934/0.6499, allocations: 108 kB / 0.7473 GB, free: 14.78 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.001534/0.6514, allocations: 1.258 MB / 0.7485 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009955/0.6524, allocations: 0.5256 MB / 0.749 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.6525, allocations: 0 / 0.749 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006277/0.6531, allocations: 370.3 kB / 0.7494 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.6537, allocations: 102.7 kB / 0.7495 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/0.6595, allocations: 4.015 MB / 0.7534 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.66, allocations: 0.823 MB / 0.7542 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.6603, allocations: 99.14 kB / 0.7543 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.6605, allocations: 139.4 kB / 0.7544 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/0.6606, allocations: 3.938 kB / 0.7544 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.6981, allocations: 11.79 MB / 0.7659 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.468/10.17, allocations: 10.88 kB / 0.766 GB, free: 11.65 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