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.0008032/0.0008031, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004665/0.004665, allocations: 170 kB / 16.26 MB, free: 6.613 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5791/0.5791, allocations: 89.64 MB / 381.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 12.69 kB / 460.7 MB, free: 24.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 68.82 MB / 0.5172 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.3526/0.4554, allocations: 136.7 MB / 0.6507 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.4584, allocations: 3.238 MB / 0.6538 GB, free: 9.531 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.4586, allocations: 2.938 kB / 0.6538 GB, free: 9.531 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.459, allocations: 113.1 kB / 0.6539 GB, free: 9.441 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.4594, allocations: 139.9 kB / 0.6541 GB, free: 9.328 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.4598, allocations: 189.7 kB / 0.6542 GB, free: 9.188 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.4601, allocations: 303.5 kB / 0.6545 GB, free: 9.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4602, allocations: 53.92 kB / 0.6546 GB, free: 8.992 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.4606, allocations: 140.6 kB / 0.6547 GB, free: 8.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.4607, allocations: 99.92 kB / 0.6548 GB, free: 8.855 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.4607, allocations: 2.75 kB / 0.6548 GB, free: 8.855 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.4611, allocations: 257.1 kB / 0.6551 GB, free: 8.738 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.4612, allocations: 29.61 kB / 0.6551 GB, free: 8.715 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.471e-05/0.4613, allocations: 100.8 kB / 0.6552 GB, free: 8.637 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.4616, allocations: 227.3 kB / 0.6554 GB, free: 8.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4616, allocations: 0 / 0.6554 GB, free: 8.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4616, allocations: 0 / 0.6554 GB, free: 8.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.4616, allocations: 0 / 0.6554 GB, free: 8.5 MB / 478.1 MB 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.0005503/0.4622, allocations: 457.1 kB / 0.6558 GB, free: 8.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4622, allocations: 11.34 kB / 0.6558 GB, free: 8.051 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.4622, allocations: 41.5 kB / 0.6559 GB, free: 8.004 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.4623, allocations: 16.53 kB / 0.6559 GB, free: 7.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.4625, allocations: 222.6 kB / 0.6561 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.4625, allocations: 10.86 kB / 0.6561 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.4625, allocations: 13.8 kB / 0.6561 GB, free: 7.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.4627, allocations: 150.7 kB / 0.6563 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4628, allocations: 3.156 kB / 0.6563 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4628, allocations: 4 kB / 0.6563 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4628, allocations: 2.562 kB / 0.6563 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.4629, allocations: 68.09 kB / 0.6564 GB, free: 7.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.4636, allocations: 0.7087 MB / 0.657 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.4637, allocations: 84.62 kB / 0.6571 GB, free: 6.828 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.4638, allocations: 39.64 kB / 0.6572 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.4639, allocations: 163.3 kB / 0.6573 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4639, allocations: 37.48 kB / 0.6574 GB, free: 6.562 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4639, allocations: 0 / 0.6574 GB, free: 6.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005753/0.4645, allocations: 327.4 kB / 0.6577 GB, free: 6.258 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4646, allocations: 78.89 kB / 0.6577 GB, free: 6.164 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.4647, allocations: 226 kB / 0.658 GB, free: 5.992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.4648, allocations: 32.2 kB / 0.658 GB, free: 5.957 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.4648, allocations: 116.1 kB / 0.6581 GB, free: 5.848 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.4649, allocations: 34.41 kB / 0.6581 GB, free: 5.816 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.4649, allocations: 16.03 kB / 0.6582 GB, free: 5.797 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.465, allocations: 336.6 kB / 0.6585 GB, free: 5.465 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.465, allocations: 15.88 kB / 0.6585 GB, free: 5.457 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.437e-05/0.4651, allocations: 45.3 kB / 0.6585 GB, free: 5.414 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.4652, allocations: 72.33 kB / 0.6586 GB, free: 5.355 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4652, allocations: 0 / 0.6586 GB, free: 5.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002137/0.4654, allocations: 146.4 kB / 0.6587 GB, free: 5.254 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4654, allocations: 8.969 kB / 0.6587 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4654, allocations: 6.938 kB / 0.6588 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/0.4656, allocations: 38.39 kB / 0.6588 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.4657, allocations: 15.95 kB / 0.6588 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.4671, allocations: 2.56 MB / 0.6613 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.4672, allocations: 17.53 kB / 0.6613 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.4672, allocations: 3.156 kB / 0.6613 GB, free: 2.516 MB / 478.1 MB 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 9.119e-05/0.4673, allocations: 139.5 kB / 0.6615 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.4674, allocations: 17.16 kB / 0.6615 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.4676, allocations: 143.7 kB / 0.6616 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4676, allocations: 2.656 kB / 0.6616 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.4676, allocations: 0 / 0.6616 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4676, allocations: 4 kB / 0.6616 GB, free: 2.242 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.4681, allocations: 0.4969 MB / 0.6621 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4681, allocations: 0 / 0.6621 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.4681, allocations: 3.344 kB / 0.6621 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.4682, allocations: 48.25 kB / 0.6622 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4682, allocations: 3.938 kB / 0.6622 GB, free: 1.703 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.4696, allocations: 2.567 MB / 0.6647 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.4696, allocations: 5.688 kB / 0.6647 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.4699, allocations: 327.3 kB / 0.665 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.4699, allocations: 99.16 kB / 0.6651 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.47, allocations: 2.969 kB / 0.6651 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.4701, allocations: 0 / 0.6651 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.4701, allocations: 16.83 kB / 0.6651 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.4701, allocations: 10.84 kB / 0.6651 GB, free: 14.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.4702, allocations: 160.9 kB / 0.6653 GB, free: 14.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4703, allocations: 0 / 0.6653 GB, free: 14.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.4706, allocations: 51.58 kB / 0.6653 GB, free: 14.45 MB / 494.1 MB 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.0005615/0.4712, allocations: 0.9181 MB / 0.6662 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003261/0.4715, allocations: 277.3 kB / 0.6665 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4715, allocations: 0 / 0.6665 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.4717, allocations: 259.3 kB / 0.6667 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.4723, allocations: 51.64 kB / 0.6668 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.4743, allocations: 2.318 MB / 0.669 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.4746, allocations: 0.721 MB / 0.6697 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.446e-05/0.4746, allocations: 18.16 kB / 0.6697 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.4747, allocations: 44.11 kB / 0.6698 GB, free: 10.32 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4747, allocations: 0 / 0.6698 GB, free: 10.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.439/2.914, allocations: 5.147 MB / 0.6748 GB, free: 7.867 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/2.914, allocations: 228.4 kB / 0.675 GB, free: 7.605 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/5.701, allocations: 2.953 kB / 0.675 GB, free: 7.605 MB / 494.1 MB (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