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: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",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.009168/0.009168, allocations: 100 kB / 15.73 MB, free: 6.469 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.001648/0.001648, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6862/0.6862, allocations: 91.19 MB / 381.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 79.88 kB / 0.5164 GB, free: 9.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1419, allocations: 67.69 MB / 0.5825 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4774/0.6194, allocations: 140.5 MB / 0.7197 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003372/0.6228, allocations: 3.293 MB / 0.7229 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.6231, allocations: 19.88 kB / 0.7229 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.6237, allocations: 133.6 kB / 0.723 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.6242, allocations: 175.2 kB / 0.7232 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.6247, allocations: 199.2 kB / 0.7234 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.6251, allocations: 338.5 kB / 0.7237 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.6252, allocations: 56.7 kB / 0.7238 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.6257, allocations: 215 kB / 0.724 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.6259, allocations: 116.9 kB / 0.7241 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.6259, allocations: 8 kB / 0.7241 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004717/0.6264, allocations: 263.5 kB / 0.7243 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.6265, allocations: 39.78 kB / 0.7244 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.6266, allocations: 103.3 kB / 0.7245 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.6271, allocations: 326.9 kB / 0.7248 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6271, allocations: 0 / 0.7248 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6271, allocations: 0 / 0.7248 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.6271, allocations: 4 kB / 0.7248 GB, free: 6.688 MB / 0.5606 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.0008424/0.628, allocations: 0.5497 MB / 0.7253 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.628, allocations: 8.031 kB / 0.7253 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.6281, allocations: 42.73 kB / 0.7254 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.6281, allocations: 36.56 kB / 0.7254 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.6287, allocations: 356 kB / 0.7258 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.6287, allocations: 4.609 kB / 0.7258 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.6288, allocations: 16.47 kB / 0.7258 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.629, allocations: 166.5 kB / 0.7259 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.629, allocations: 0 / 0.7259 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.6291, allocations: 4 kB / 0.7259 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.6291, allocations: 11.94 kB / 0.7259 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.6292, allocations: 71.91 kB / 0.726 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.63, allocations: 0.7192 MB / 0.7267 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.6301, allocations: 89.16 kB / 0.7268 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.6302, allocations: 33.72 kB / 0.7268 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.6303, allocations: 170.2 kB / 0.727 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.6304, allocations: 30.56 kB / 0.727 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.514e-06/0.6304, allocations: 4 kB / 0.727 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006486/0.631, allocations: 333.1 kB / 0.7273 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.6311, allocations: 77.11 kB / 0.7274 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.6314, allocations: 321.6 kB / 0.7277 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.6314, allocations: 25.7 kB / 0.7278 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.451e-05/0.6315, allocations: 160.1 kB / 0.7279 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.6316, allocations: 31.55 kB / 0.7279 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.6316, allocations: 21.72 kB / 0.728 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6317, allocations: 338.8 kB / 0.7283 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.6318, allocations: 23.92 kB / 0.7283 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.875e-05/0.6318, allocations: 47.42 kB / 0.7283 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.386e-05/0.6319, allocations: 71.75 kB / 0.7284 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6319, allocations: 0 / 0.7284 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002537/0.6322, allocations: 158.9 kB / 0.7286 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6322, allocations: 7.938 kB / 0.7286 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6322, allocations: 7.984 kB / 0.7286 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.6324, allocations: 41.77 kB / 0.7286 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.6325, allocations: 8 kB / 0.7286 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.6342, allocations: 2.761 MB / 0.7313 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/0.6343, allocations: 11.88 kB / 0.7313 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.6343, allocations: 4 kB / 0.7313 GB, free: 15.32 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.0001226/0.6344, allocations: 146.4 kB / 0.7315 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.646e-05/0.6345, allocations: 35.56 kB / 0.7315 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.6348, allocations: 164.9 kB / 0.7317 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6348, allocations: 0 / 0.7317 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6348, allocations: 4 kB / 0.7317 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.6348, allocations: 0 / 0.7317 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.6354, allocations: 0.5244 MB / 0.7322 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.6354, allocations: 0 / 0.7322 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.55e-05/0.6354, allocations: 7.938 kB / 0.7322 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.6355, allocations: 53.72 kB / 0.7322 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.6355, allocations: 0 / 0.7322 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.6372, allocations: 2.754 MB / 0.7349 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6373, allocations: 0 / 0.7349 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.6376, allocations: 334.7 kB / 0.7353 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.6377, allocations: 104.9 kB / 0.7354 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.6377, allocations: 7.969 kB / 0.7354 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.6379, allocations: 4 kB / 0.7354 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.6379, allocations: 11.94 kB / 0.7354 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.6379, allocations: 0 / 0.7354 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002406/0.6382, allocations: 231.2 kB / 0.7356 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6382, allocations: 8.062 kB / 0.7356 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003704/0.6386, allocations: 44.19 kB / 0.7356 GB, free: 10.47 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.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 (4): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0007108/0.6393, allocations: 0.9198 MB / 0.7365 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004297/0.6397, allocations: 289.2 kB / 0.7368 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.6398, allocations: 8.125 kB / 0.7368 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.64, allocations: 253.3 kB / 0.7371 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.6406, allocations: 65.23 kB / 0.7371 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.6435, allocations: 2.605 MB / 0.7397 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.6438, allocations: 0.7518 MB / 0.7404 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.475e-05/0.6438, allocations: 34.2 kB / 0.7404 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.6439, allocations: 79.41 kB / 0.7405 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of SimCode: time 1.523e-06/0.6439, allocations: 0 / 0.7405 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.6727, allocations: 6.744 MB / 0.7471 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.994/10.67, allocations: 10.08 kB / 0.7471 GB, free: 14.63 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > 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