Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001563, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001656/0.001656, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.666/0.666, allocations: 91.2 MB / 382.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 79.88 kB / 0.5175 GB, free: 4.137 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2813, allocations: 67.69 MB / 0.5836 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1397/0.4211, allocations: 140.5 MB / 0.7208 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003403/0.4246, allocations: 3.295 MB / 0.724 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.4248, allocations: 19.88 kB / 0.7241 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004654/0.4253, allocations: 131.1 kB / 0.7242 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.4258, allocations: 182.9 kB / 0.7244 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.4262, allocations: 203.2 kB / 0.7246 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000384/0.4266, allocations: 338.5 kB / 0.7249 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.4268, allocations: 64.5 kB / 0.7249 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.4272, allocations: 203.1 kB / 0.7251 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.4274, allocations: 119.3 kB / 0.7253 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.4275, allocations: 12 kB / 0.7253 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004896/0.4279, allocations: 267.5 kB / 0.7255 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.428, allocations: 35.8 kB / 0.7256 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.348e-05/0.4281, allocations: 107.3 kB / 0.7257 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.4286, allocations: 312.2 kB / 0.726 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4286, allocations: 3.984 kB / 0.726 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4286, allocations: 0 / 0.726 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.4286, allocations: 0 / 0.726 GB, free: 11.84 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006876/0.4293, allocations: 0.5688 MB / 0.7265 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4294, allocations: 8.031 kB / 0.7265 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.4294, allocations: 32.75 kB / 0.7266 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.4299, allocations: 356.2 kB / 0.7269 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.43, allocations: 8.609 kB / 0.7269 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.43, allocations: 12.38 kB / 0.7269 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.4302, allocations: 158.8 kB / 0.7271 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4303, allocations: 0 / 0.7271 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4303, allocations: 4 kB / 0.7271 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4303, allocations: 4 kB / 0.7271 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.4304, allocations: 71.91 kB / 0.7271 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007719/0.4312, allocations: 0.7351 MB / 0.7279 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.4313, allocations: 85.09 kB / 0.7279 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.4314, allocations: 33.72 kB / 0.728 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.4315, allocations: 174.3 kB / 0.7281 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.4316, allocations: 30.56 kB / 0.7282 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.4316, allocations: 0 / 0.7282 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0006595/0.4322, allocations: 337.6 kB / 0.7285 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.4323, allocations: 81.11 kB / 0.7286 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.4326, allocations: 317.7 kB / 0.7289 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.4326, allocations: 25.7 kB / 0.7289 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.4327, allocations: 160.1 kB / 0.729 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.4328, allocations: 31.73 kB / 0.7291 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.4328, allocations: 21.72 kB / 0.7291 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4329, allocations: 342.7 kB / 0.7294 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.433, allocations: 20 kB / 0.7294 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.433, allocations: 51.41 kB / 0.7295 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.4331, allocations: 79.36 kB / 0.7296 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4332, allocations: 0 / 0.7296 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002557/0.4334, allocations: 155.1 kB / 0.7297 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4334, allocations: 11.94 kB / 0.7297 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4335, allocations: 0 / 0.7297 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.4337, allocations: 37.7 kB / 0.7298 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.4337, allocations: 15.94 kB / 0.7298 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.4355, allocations: 2.769 MB / 0.7325 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.4356, allocations: 12.11 kB / 0.7325 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.4356, allocations: 4.188 kB / 0.7325 GB, free: 4.488 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.4358, allocations: 145.6 kB / 0.7326 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.4358, allocations: 35.69 kB / 0.7327 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.4361, allocations: 147.3 kB / 0.7328 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4361, allocations: 8 kB / 0.7328 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4361, allocations: 0 / 0.7328 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.4362, allocations: 108.8 kB / 0.7329 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.4362, allocations: 4 kB / 0.7329 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.4363, allocations: 3.938 kB / 0.7329 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.4363, allocations: 7.984 kB / 0.7329 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003668/0.4367, allocations: 273.9 kB / 0.7332 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002515/0.437, allocations: 373.8 kB / 0.7336 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.377e-05/0.437, allocations: 27.97 kB / 0.7336 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002039/0.4372, allocations: 235.2 kB / 0.7338 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of Backend: time 3.6e-07/0.4372, allocations: 0 / 0.7338 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000874/0.4381, allocations: 423.8 kB / 0.7342 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00115/0.4393, allocations: 1.065 MB / 0.7352 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.2282/0.6675, allocations: 3.567 MB / 0.7387 GB, free: 154.5 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches