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: translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001101/0.001102, allocations: 190.5 kB / 17.35 MB, free: 5.738 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.274/1.274, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6516/0.6516, allocations: 91.19 MB / 382.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 71.88 kB / 0.5175 GB, free: 4.141 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2746, allocations: 67.68 MB / 0.5836 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1382/0.4128, allocations: 144.5 MB / 0.7247 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004697/0.4176, allocations: 4.545 MB / 0.7291 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.4179, allocations: 19.88 kB / 0.7292 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.4185, allocations: 198.7 kB / 0.7293 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.4192, allocations: 290.3 kB / 0.7296 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009535/0.4201, allocations: 434.3 kB / 0.73 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.4208, allocations: 0.6698 MB / 0.7307 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.421, allocations: 118.6 kB / 0.7308 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.4217, allocations: 354.6 kB / 0.7311 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.4221, allocations: 342.8 kB / 0.7315 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.4222, allocations: 28 kB / 0.7315 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008218/0.423, allocations: 455.1 kB / 0.7319 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.4231, allocations: 99.66 kB / 0.732 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.4233, allocations: 206.8 kB / 0.7322 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007733/0.4241, allocations: 0.6247 MB / 0.7328 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.4241, allocations: 0 / 0.7328 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.857e-06/0.4241, allocations: 3.984 kB / 0.7328 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.4242, allocations: 0 / 0.7328 GB, free: 4.766 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.001462/0.4256, allocations: 0.7908 MB / 0.7336 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.4257, allocations: 12.03 kB / 0.7336 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.4258, allocations: 44.38 kB / 0.7337 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.4264, allocations: 457.9 kB / 0.7341 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.4265, allocations: 16.94 kB / 0.7341 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.4265, allocations: 28.28 kB / 0.7341 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006449/0.4272, allocations: 441.3 kB / 0.7346 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4272, allocations: 3.938 kB / 0.7346 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.4272, allocations: 12 kB / 0.7346 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.4273, allocations: 20.55 kB / 0.7346 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.428, allocations: 481.8 kB / 0.7351 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.43, allocations: 1.427 MB / 0.7364 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.4304, allocations: 248.8 kB / 0.7367 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.4307, allocations: 213.3 kB / 0.7369 GB, free: 416 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.431, allocations: 336.4 kB / 0.7372 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2316/0.6627, allocations: 33.31 kB / 0.7372 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 3.797e-06/0.6627, allocations: 1.781 kB / 0.7372 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002661/0.6653, allocations: 1.514 MB / 0.7387 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.6654, allocations: 55.06 kB / 0.7388 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.6658, allocations: 370.4 kB / 0.7391 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.6658, allocations: 32.12 kB / 0.7392 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.6659, allocations: 190.6 kB / 0.7393 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.587e-05/0.666, allocations: 116.5 kB / 0.7395 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.6661, allocations: 69.64 kB / 0.7395 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.6662, allocations: 358.5 kB / 0.7399 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.6664, allocations: 142.6 kB / 0.74 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.6667, allocations: 144.6 kB / 0.7401 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.6672, allocations: 345.9 kB / 0.7405 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6672, allocations: 0.9688 kB / 0.7405 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008725/0.6681, allocations: 0.5124 MB / 0.741 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6681, allocations: 9.219 kB / 0.741 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6681, allocations: 0.7969 kB / 0.741 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/0.6685, allocations: 120.1 kB / 0.7411 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.6688, allocations: 53.67 kB / 0.7411 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.6709, allocations: 2.334 MB / 0.7434 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.6711, allocations: 9.406 kB / 0.7434 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.6712, allocations: 16 kB / 0.7434 GB, free: 151.4 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.0001495/0.6713, allocations: 170.1 kB / 0.7436 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/0.6714, allocations: 40.31 kB / 0.7436 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.6725, allocations: 0.6591 MB / 0.7443 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6725, allocations: 1.312 kB / 0.7443 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6725, allocations: 0.625 kB / 0.7443 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.6726, allocations: 107.6 kB / 0.7444 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.6727, allocations: 10.19 kB / 0.7444 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.6728, allocations: 13.16 kB / 0.7444 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.6729, allocations: 28.94 kB / 0.7444 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001221/0.6741, allocations: 0.5239 MB / 0.745 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000953/0.6751, allocations: 0.6981 MB / 0.7456 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002468/0.6754, allocations: 137.3 kB / 0.7458 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003276/0.6757, allocations: 302.9 kB / 0.7461 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of Backend: time 4.51e-07/0.6757, allocations: 0 / 0.7461 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.677, allocations: 0.5979 MB / 0.7466 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001564/0.6786, allocations: 1.42 MB / 0.748 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01056/0.6892, allocations: 8.51 MB / 0.7563 GB, free: 141.3 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile (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 & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > 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