Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_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.001315/0.001315, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6935/0.6935, allocations: 93.73 MB / 384.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 89.38 kB / 463.5 MB, free: 22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1092, allocations: 68.27 MB / 0.5193 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.3513/0.4605, allocations: 140.5 MB / 0.6565 GB, free: 5.324 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.4642, allocations: 3.333 MB / 0.6598 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.4644, allocations: 20.25 kB / 0.6598 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.4649, allocations: 139.7 kB / 0.6599 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.4653, allocations: 194.3 kB / 0.6601 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.4657, allocations: 199.9 kB / 0.6603 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.4661, allocations: 385.8 kB / 0.6607 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.4662, allocations: 62.05 kB / 0.6607 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.4667, allocations: 232.2 kB / 0.6609 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.4668, allocations: 119.3 kB / 0.6611 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.4669, allocations: 9.812 kB / 0.6611 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004475/0.4673, allocations: 263.3 kB / 0.6613 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.4674, allocations: 38.66 kB / 0.6614 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.558e-05/0.4675, allocations: 109.6 kB / 0.6615 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.4679, allocations: 318.2 kB / 0.6618 GB, free: 1.305 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4679, allocations: 0 / 0.6618 GB, free: 1.305 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4679, allocations: 0 / 0.6618 GB, free: 1.305 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4679, allocations: 0 / 0.6618 GB, free: 1.305 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.0007399/0.4687, allocations: 0.5632 MB / 0.6623 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.4687, allocations: 18.05 kB / 0.6623 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.4688, allocations: 40.88 kB / 0.6624 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.4688, allocations: 37.94 kB / 0.6624 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.4693, allocations: 349.3 kB / 0.6627 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.4693, allocations: 10.27 kB / 0.6627 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.4693, allocations: 11.94 kB / 0.6628 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.4695, allocations: 164.5 kB / 0.6629 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4696, allocations: 0.875 kB / 0.6629 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.4696, allocations: 6.844 kB / 0.6629 GB, free: 236 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4696, allocations: 2.938 kB / 0.6629 GB, free: 236 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.4697, allocations: 71.03 kB / 0.663 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.4706, allocations: 0.7368 MB / 0.6637 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.4707, allocations: 88.62 kB / 0.6638 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.4708, allocations: 36.91 kB / 0.6638 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.4709, allocations: 162.9 kB / 0.664 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.471, allocations: 34.56 kB / 0.664 GB, free: 15.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.471, allocations: 0 / 0.664 GB, free: 15.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006612/0.4716, allocations: 334.6 kB / 0.6643 GB, free: 14.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.4717, allocations: 79.8 kB / 0.6644 GB, free: 14.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.472, allocations: 340 kB / 0.6647 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.472, allocations: 29.7 kB / 0.6648 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4722, allocations: 167.3 kB / 0.6649 GB, free: 14.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.4722, allocations: 30.55 kB / 0.665 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.4723, allocations: 22.41 kB / 0.665 GB, free: 14.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4724, allocations: 342.6 kB / 0.6653 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.4725, allocations: 18.09 kB / 0.6653 GB, free: 13.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.4725, allocations: 47.05 kB / 0.6654 GB, free: 13.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.4727, allocations: 81.06 kB / 0.6654 GB, free: 13.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4727, allocations: 3.938 kB / 0.6655 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002592/0.4729, allocations: 158.4 kB / 0.6656 GB, free: 13.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4729, allocations: 9.969 kB / 0.6656 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.473, allocations: 4.062 kB / 0.6656 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.4731, allocations: 34.73 kB / 0.6656 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.4732, allocations: 18.39 kB / 0.6657 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.4753, allocations: 2.752 MB / 0.6684 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.4754, allocations: 10.53 kB / 0.6684 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.4754, allocations: 10.73 kB / 0.6684 GB, free: 10.8 MB / 494.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 0.0001378/0.4756, allocations: 143.1 kB / 0.6685 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.4757, allocations: 38.31 kB / 0.6685 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.476, allocations: 164.1 kB / 0.6687 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.476, allocations: 2.156 kB / 0.6687 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.476, allocations: 0 / 0.6687 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.476, allocations: 2.906 kB / 0.6687 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.4766, allocations: 0.5299 MB / 0.6692 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4766, allocations: 2.469 kB / 0.6692 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.4766, allocations: 6.391 kB / 0.6692 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.4767, allocations: 43.8 kB / 0.6693 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.4767, allocations: 3.984 kB / 0.6693 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.4787, allocations: 2.764 MB / 0.672 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4788, allocations: 0 / 0.672 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.4791, allocations: 333.4 kB / 0.6723 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.4792, allocations: 104.5 kB / 0.6724 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.4792, allocations: 6.469 kB / 0.6724 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.4794, allocations: 3.344 kB / 0.6724 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.4794, allocations: 20.98 kB / 0.6724 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4794, allocations: 0 / 0.6724 GB, free: 6.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.4796, allocations: 242 kB / 0.6727 GB, free: 6.453 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4796, allocations: 4.062 kB / 0.6727 GB, free: 6.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.48, allocations: 52.08 kB / 0.6727 GB, free: 6.438 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.0007415/0.4808, allocations: 0.925 MB / 0.6736 GB, free: 5.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.4812, allocations: 283.3 kB / 0.6739 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4812, allocations: 7.375 kB / 0.6739 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.4815, allocations: 254.3 kB / 0.6741 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.4821, allocations: 69.38 kB / 0.6742 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.485, allocations: 2.708 MB / 0.6768 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.4854, allocations: 0.7562 MB / 0.6776 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.127e-05/0.4855, allocations: 32.97 kB / 0.6776 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4856, allocations: 87.59 kB / 0.6777 GB, free: 2.082 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4856, allocations: 0 / 0.6777 GB, free: 2.082 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.5203, allocations: 6.751 MB / 0.6843 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.438/9.959, allocations: 11.92 kB / 0.6843 GB, free: 14.75 MB / 0.4981 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches