Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008269/0.0008269, allocations: 171.3 kB / 16.11 MB, free: 5.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205 MB / 221.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007408/0.0007409, allocations: 86.39 kB / 269.9 MB, free: 8.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6133/0.6133, allocations: 90.51 MB / 408.3 MB, free: 3.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002737/0.0002737, allocations: 16.2 kB / 484.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.228, allocations: 65.8 MB / 0.5378 GB, free: 34.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1218/0.3498, allocations: 140.9 MB / 0.6753 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004136/0.354, allocations: 4.487 MB / 0.6797 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.3542, allocations: 7.938 kB / 0.6797 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.3546, allocations: 175.1 kB / 0.6799 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.3551, allocations: 254.7 kB / 0.6801 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.3558, allocations: 386.7 kB / 0.6805 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006568/0.3565, allocations: 0.8337 MB / 0.6813 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3566, allocations: 92.45 kB / 0.6814 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.3571, allocations: 294.8 kB / 0.6817 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.3575, allocations: 323 kB / 0.682 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.3575, allocations: 16 kB / 0.682 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007813/0.3583, allocations: 0.5417 MB / 0.6825 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.3584, allocations: 75.72 kB / 0.6826 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.3585, allocations: 167.2 kB / 0.6828 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006374/0.3592, allocations: 0.5919 MB / 0.6833 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3592, allocations: 0 / 0.6833 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3592, allocations: 0 / 0.6833 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.3592, allocations: 0 / 0.6833 GB, free: 1.367 MB / 0.4948 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.0012/0.3604, allocations: 0.6549 MB / 0.684 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3604, allocations: 8.031 kB / 0.684 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.3605, allocations: 32.56 kB / 0.684 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.3608, allocations: 299.4 kB / 0.6843 GB, free: 300 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.3609, allocations: 12.94 kB / 0.6843 GB, free: 288 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.3609, allocations: 28.36 kB / 0.6843 GB, free: 260 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1795/0.5404, allocations: 402.6 kB / 0.6847 GB, free: 145 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.5405, allocations: 0.9688 kB / 0.6847 GB, free: 145 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.5405, allocations: 8.594 kB / 0.6847 GB, free: 145 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.705e-05/0.5406, allocations: 24.12 kB / 0.6848 GB, free: 145 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/0.5415, allocations: 490.3 kB / 0.6852 GB, free: 145 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.5434, allocations: 1.496 MB / 0.6867 GB, free: 144 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.5441, allocations: 445.8 kB / 0.6871 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.5445, allocations: 273.2 kB / 0.6874 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.5446, allocations: 93.55 kB / 0.6875 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.5446, allocations: 41.7 kB / 0.6875 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=38): time 2.755e-06/0.5446, allocations: 0 / 0.6875 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002762/0.5474, allocations: 1.786 MB / 0.6892 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.5474, allocations: 58.19 kB / 0.6893 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.5476, allocations: 224.9 kB / 0.6895 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.5477, allocations: 32.48 kB / 0.6895 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.5477, allocations: 148.1 kB / 0.6897 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-05/0.5478, allocations: 138.9 kB / 0.6898 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.5479, allocations: 5.594 kB / 0.6898 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.5479, allocations: 340.1 kB / 0.6901 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.5482, allocations: 209.1 kB / 0.6903 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.5486, allocations: 202.1 kB / 0.6905 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.5492, allocations: 472.1 kB / 0.691 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5492, allocations: 0.625 kB / 0.691 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001001/0.5502, allocations: 0.6264 MB / 0.6916 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5503, allocations: 5.469 kB / 0.6916 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5503, allocations: 0 / 0.6916 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/0.5506, allocations: 113.5 kB / 0.6917 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.5509, allocations: 59.08 kB / 0.6918 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.5531, allocations: 2.132 MB / 0.6939 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.5533, allocations: 10.95 kB / 0.6939 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.5533, allocations: 16.23 kB / 0.6939 GB, free: 139.4 MB / 0.4948 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 (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001432/0.5535, allocations: 158.5 kB / 0.694 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.5536, allocations: 30.33 kB / 0.6941 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.5547, allocations: 0.6889 MB / 0.6947 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5547, allocations: 3.125 kB / 0.6947 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5547, allocations: 0 / 0.6947 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.5548, allocations: 104.8 kB / 0.6948 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.5549, allocations: 11.88 kB / 0.6948 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.5551, allocations: 21.98 kB / 0.6949 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.5552, allocations: 33.56 kB / 0.6949 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001305/0.5565, allocations: 0.729 MB / 0.6956 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001112/0.5576, allocations: 0.9967 MB / 0.6966 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003149/0.5579, allocations: 242.5 kB / 0.6968 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001129/0.558, allocations: 164.5 kB / 0.697 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of Backend: time 5.01e-07/0.558, allocations: 0 / 0.697 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.5594, allocations: 0.7962 MB / 0.6977 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of SimCode: time 0.001161/0.5605, allocations: 1.437 MB / 0.6992 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.01055/0.5711, allocations: 7.866 MB / 0.7068 GB, free: 130.8 MB / 0.4948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches