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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 113 kB / 18.14 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 198.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 250.2 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7195/0.7195, allocations: 94.59 MB / 400 MB, free: 15.72 MB / 318.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-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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 85 kB / 0.5457 GB, free: 43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1392, allocations: 71.85 MB / 0.6158 GB, free: 8.984 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4789/0.6181, allocations: 141.1 MB / 0.7536 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.6211, allocations: 3.373 MB / 0.7569 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.6213, allocations: 19.88 kB / 0.7569 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.6217, allocations: 135.7 kB / 0.757 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.6221, allocations: 202.9 kB / 0.7572 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.6225, allocations: 207.3 kB / 0.7574 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.6229, allocations: 397.5 kB / 0.7578 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.623, allocations: 36.52 kB / 0.7578 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.6234, allocations: 229.4 kB / 0.7581 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.6236, allocations: 126.8 kB / 0.7582 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.6236, allocations: 11.41 kB / 0.7582 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.624, allocations: 268.1 kB / 0.7584 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.624, allocations: 36.22 kB / 0.7585 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/0.6241, allocations: 111.3 kB / 0.7586 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.6245, allocations: 335.1 kB / 0.7589 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6245, allocations: 3.25 kB / 0.7589 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6245, allocations: 0 / 0.7589 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.6245, allocations: 0.9688 kB / 0.7589 GB, free: 2.836 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.0008121/0.6254, allocations: 0.5795 MB / 0.7595 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.6254, allocations: 9.469 kB / 0.7595 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.6254, allocations: 46.22 kB / 0.7595 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.6255, allocations: 35.39 kB / 0.7596 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.6261, allocations: 383.6 kB / 0.7599 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.6261, allocations: 9.547 kB / 0.7599 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.6261, allocations: 16.16 kB / 0.76 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.6263, allocations: 152.8 kB / 0.7601 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.6263, allocations: 0.7031 kB / 0.7601 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.6263, allocations: 7.562 kB / 0.7601 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6263, allocations: 4.156 kB / 0.7601 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.6264, allocations: 71.38 kB / 0.7602 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.6272, allocations: 0.7373 MB / 0.7609 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.6273, allocations: 77.97 kB / 0.761 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.6274, allocations: 33.69 kB / 0.761 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.6275, allocations: 164.8 kB / 0.7612 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.6276, allocations: 32.33 kB / 0.7612 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.6276, allocations: 0.9062 kB / 0.7612 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006358/0.6282, allocations: 342.5 kB / 0.7615 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.6283, allocations: 78.48 kB / 0.7616 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.6285, allocations: 338.2 kB / 0.7619 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.6286, allocations: 25.7 kB / 0.7619 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.6287, allocations: 180.3 kB / 0.7621 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.6287, allocations: 28.92 kB / 0.7621 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.6287, allocations: 23.02 kB / 0.7622 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6289, allocations: 345.6 kB / 0.7625 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.6289, allocations: 20.83 kB / 0.7625 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/0.6289, allocations: 46.53 kB / 0.7626 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.696e-05/0.629, allocations: 73.27 kB / 0.7626 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.629, allocations: 0 / 0.7626 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002447/0.6293, allocations: 161.4 kB / 0.7628 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6293, allocations: 8.875 kB / 0.7628 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6293, allocations: 4.5 kB / 0.7628 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.6295, allocations: 42.48 kB / 0.7628 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/0.6295, allocations: 11.14 kB / 0.7628 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.6314, allocations: 2.763 MB / 0.7655 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.6315, allocations: 11.38 kB / 0.7656 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.6315, allocations: 6.75 kB / 0.7656 GB, free: 13.4 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.0001242/0.6316, allocations: 133.8 kB / 0.7657 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.6317, allocations: 39.81 kB / 0.7657 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.632, allocations: 152.5 kB / 0.7659 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.632, allocations: 1.875 kB / 0.7659 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.632, allocations: 2.5 kB / 0.7659 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.632, allocations: 0.9375 kB / 0.7659 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.6325, allocations: 0.5332 MB / 0.7664 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6325, allocations: 5.062 kB / 0.7664 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.6325, allocations: 7.359 kB / 0.7664 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.6326, allocations: 43.92 kB / 0.7665 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.6326, allocations: 3.812 kB / 0.7665 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.6346, allocations: 2.765 MB / 0.7692 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6346, allocations: 2 kB / 0.7692 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.6349, allocations: 344 kB / 0.7695 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.635, allocations: 100.6 kB / 0.7696 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.635, allocations: 5.281 kB / 0.7696 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.6351, allocations: 4.391 kB / 0.7696 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.6351, allocations: 19.11 kB / 0.7696 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.6351, allocations: 3.031 kB / 0.7696 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002314/0.6354, allocations: 242.8 kB / 0.7698 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6354, allocations: 1.219 kB / 0.7698 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003731/0.6357, allocations: 40.94 kB / 0.7699 GB, free: 9.602 MB / 0.5919 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.0007896/0.6365, allocations: 0.9171 MB / 0.7708 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.637, allocations: 287.1 kB / 0.7711 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.637, allocations: 1.719 kB / 0.7711 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.6372, allocations: 255.2 kB / 0.7713 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.6378, allocations: 67.16 kB / 0.7714 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.6413, allocations: 2.695 MB / 0.774 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.6417, allocations: 0.759 MB / 0.7747 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.855e-05/0.6418, allocations: 30.3 kB / 0.7748 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.6419, allocations: 90.86 kB / 0.7749 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of SimCode: time 4.2e-07/0.6419, allocations: 0.7188 kB / 0.7749 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/0.6796, allocations: 6.908 MB / 0.7816 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.74, allocations: 2.578 kB / 0.7816 GB, free: 5.418 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv failed! Error: Could not read variable source1.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv. Warning: Get data of variable source1.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.198384104296565]