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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6994/0.6994, allocations: 94.57 MB / 404.1 MB, free: 10.94 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 79.88 kB / 0.5506 GB, free: 5.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4295, allocations: 73.03 MB / 0.6219 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1671/0.5966, allocations: 141 MB / 0.7596 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004139/0.6007, allocations: 3.35 MB / 0.7629 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.601, allocations: 27.75 kB / 0.7629 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.6015, allocations: 143 kB / 0.763 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.602, allocations: 194.8 kB / 0.7632 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.6024, allocations: 203.2 kB / 0.7634 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.6029, allocations: 394.4 kB / 0.7638 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.603, allocations: 40.72 kB / 0.7638 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005273/0.6035, allocations: 234.9 kB / 0.7641 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.6037, allocations: 127.3 kB / 0.7642 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.6037, allocations: 8 kB / 0.7642 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005003/0.6042, allocations: 263.5 kB / 0.7644 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.6043, allocations: 35.8 kB / 0.7645 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.6044, allocations: 119.2 kB / 0.7646 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.605, allocations: 332.5 kB / 0.7649 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.605, allocations: 0 / 0.7649 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.605, allocations: 0 / 0.7649 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.605, allocations: 0 / 0.7649 GB, free: 9.211 MB / 0.5919 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.0008771/0.6059, allocations: 0.5722 MB / 0.7655 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.6059, allocations: 12.03 kB / 0.7655 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.788e-05/0.6059, allocations: 12.42 kB / 0.7655 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.606, allocations: 50.67 kB / 0.7655 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.606, allocations: 28.75 kB / 0.7656 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.6067, allocations: 392.1 kB / 0.7659 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.6067, allocations: 8.609 kB / 0.7659 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.6067, allocations: 16.12 kB / 0.766 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.607, allocations: 146.7 kB / 0.7661 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.607, allocations: 3.938 kB / 0.7661 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.607, allocations: 4 kB / 0.7661 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.607, allocations: 7.984 kB / 0.7661 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.6072, allocations: 71.55 kB / 0.7662 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.6081, allocations: 0.735 MB / 0.7669 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.6083, allocations: 77.16 kB / 0.767 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.6083, allocations: 29.72 kB / 0.767 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.6085, allocations: 174.2 kB / 0.7672 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.6085, allocations: 38.5 kB / 0.7672 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.6085, allocations: 0 / 0.7672 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007528/0.6093, allocations: 337.6 kB / 0.7675 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.6093, allocations: 81.05 kB / 0.7676 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.6097, allocations: 337.7 kB / 0.7679 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.6097, allocations: 25.7 kB / 0.768 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.6099, allocations: 168 kB / 0.7681 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.6099, allocations: 35.69 kB / 0.7681 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.61, allocations: 21.72 kB / 0.7682 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.6101, allocations: 346.8 kB / 0.7685 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.6102, allocations: 20 kB / 0.7685 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.6103, allocations: 51.36 kB / 0.7686 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.6104, allocations: 71.45 kB / 0.7686 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6104, allocations: 3.938 kB / 0.7686 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002842/0.6107, allocations: 159.1 kB / 0.7688 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6107, allocations: 4 kB / 0.7688 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6107, allocations: 4 kB / 0.7688 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.6109, allocations: 41.64 kB / 0.7688 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.611, allocations: 11.98 kB / 0.7689 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.6133, allocations: 2.773 MB / 0.7716 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.6134, allocations: 11.92 kB / 0.7716 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.6134, allocations: 4 kB / 0.7716 GB, free: 1.711 MB / 0.5919 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.0001969/0.6136, allocations: 133.8 kB / 0.7717 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.6137, allocations: 31.75 kB / 0.7717 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.614, allocations: 159.7 kB / 0.7719 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.614, allocations: 0 / 0.7719 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.614, allocations: 3.938 kB / 0.7719 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.614, allocations: 3.984 kB / 0.7719 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.6146, allocations: 0.54 MB / 0.7724 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6146, allocations: 0 / 0.7724 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.6147, allocations: 7.938 kB / 0.7724 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.6148, allocations: 41.69 kB / 0.7725 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6148, allocations: 0 / 0.7725 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.6171, allocations: 2.769 MB / 0.7752 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6171, allocations: 0 / 0.7752 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.6176, allocations: 342.1 kB / 0.7755 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/0.6177, allocations: 104.9 kB / 0.7756 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.6177, allocations: 4 kB / 0.7756 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.6178, allocations: 8.062 kB / 0.7756 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.6179, allocations: 11.92 kB / 0.7756 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.6179, allocations: 4 kB / 0.7756 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003119/0.6182, allocations: 243.2 kB / 0.7759 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6182, allocations: 0 / 0.7759 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000444/0.6186, allocations: 44 kB / 0.7759 GB, free: 12.85 MB / 0.6075 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.0009976/0.6196, allocations: 0.9218 MB / 0.7768 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005706/0.6202, allocations: 281.2 kB / 0.7771 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6202, allocations: 0 / 0.7771 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.6205, allocations: 253.3 kB / 0.7773 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006316/0.6211, allocations: 69.94 kB / 0.7774 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.6248, allocations: 2.695 MB / 0.78 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.6253, allocations: 0.7596 MB / 0.7807 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.6254, allocations: 34.91 kB / 0.7808 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.6255, allocations: 83.41 kB / 0.7809 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.6255, allocations: 3.938 kB / 0.7809 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04571/0.6712, allocations: 6.921 MB / 0.7876 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.94, allocations: 19.69 kB / 0.7876 GB, free: 0.7422 MB / 0.6075 GB " [Timeout remaining time 649] (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 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.517320158018265]