Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.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.00186/0.00186, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001441/0.001441, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.691/1.691, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.9845/0.9845, allocations: 94.56 MB / 403.4 MB, free: 10.56 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/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.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",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.002485/0.002485, allocations: 88.22 kB / 0.5499 GB, free: 38.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1964, allocations: 73.03 MB / 0.6212 GB, free: 1.996 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.7812/0.9776, allocations: 144.3 MB / 0.7621 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004815/0.9824, allocations: 3.625 MB / 0.7657 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005992/0.983, allocations: 19.97 kB / 0.7657 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006818/0.9837, allocations: 177 kB / 0.7659 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.9847, allocations: 398 kB / 0.7662 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008349/0.9855, allocations: 295.9 kB / 0.7665 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.9861, allocations: 0.517 MB / 0.767 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.9864, allocations: 63.27 kB / 0.7671 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007251/0.9871, allocations: 269.6 kB / 0.7673 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.9875, allocations: 234.4 kB / 0.7676 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.9876, allocations: 24 kB / 0.7676 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.9889, allocations: 0.4907 MB / 0.7681 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.989, allocations: 69.67 kB / 0.7681 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.9893, allocations: 182.7 kB / 0.7683 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.9906, allocations: 0.551 MB / 0.7688 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.9906, allocations: 0 / 0.7688 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9906, allocations: 0.5 kB / 0.7688 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.9906, allocations: 0.5 kB / 0.7688 GB, free: 2.031 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001874/0.9925, allocations: 0.7585 MB / 0.7696 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/0.9925, allocations: 13.56 kB / 0.7696 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.203e-05/0.9926, allocations: 53.91 kB / 0.7696 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.9927, allocations: 48.44 kB / 0.7697 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.9938, allocations: 393.3 kB / 0.7701 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.9939, allocations: 20.28 kB / 0.7701 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.9939, allocations: 21.38 kB / 0.7701 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.9946, allocations: 259 kB / 0.7704 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.9946, allocations: 1.703 kB / 0.7704 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.9946, allocations: 9.469 kB / 0.7704 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.9947, allocations: 5.25 kB / 0.7704 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.9953, allocations: 224.8 kB / 0.7706 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.9972, allocations: 1.094 MB / 0.7717 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.9978, allocations: 210.7 kB / 0.7719 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.998, allocations: 101.5 kB / 0.772 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/0.9992, allocations: 0.9882 MB / 0.7729 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.9997, allocations: 153.9 kB / 0.7731 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.534e-06/0.9997, allocations: 0.5625 kB / 0.7731 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001446/1.001, allocations: 465.9 kB / 0.7735 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/1.001, allocations: 54.34 kB / 0.7736 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/1.002, allocations: 341.3 kB / 0.7739 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/1.002, allocations: 31.11 kB / 0.7739 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/1.002, allocations: 194 kB / 0.7741 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.002, allocations: 90.14 kB / 0.7742 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/1.002, allocations: 48.91 kB / 0.7742 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002422/1.002, allocations: 350.8 kB / 0.7746 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/1.003, allocations: 76.97 kB / 0.7746 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/1.003, allocations: 105.4 kB / 0.7747 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/1.004, allocations: 219.8 kB / 0.775 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.004, allocations: 1.688 kB / 0.775 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007901/1.004, allocations: 347.8 kB / 0.7753 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/1.004, allocations: 35.44 kB / 0.7753 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.004, allocations: 6.078 kB / 0.7753 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/1.005, allocations: 42.91 kB / 0.7754 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/1.005, allocations: 47.42 kB / 0.7754 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/1.007, allocations: 1.531 MB / 0.7769 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/1.007, allocations: 35 kB / 0.7769 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/1.007, allocations: 9.969 kB / 0.777 GB, free: 12.98 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002927/1.007, allocations: 150 kB / 0.7771 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/1.007, allocations: 35.14 kB / 0.7771 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009338/1.008, allocations: 333.4 kB / 0.7774 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.008, allocations: 6.469 kB / 0.7775 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.008, allocations: 1.219 kB / 0.7775 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/1.008, allocations: 5.203 kB / 0.7775 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/1.01, allocations: 0.7495 MB / 0.7782 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/1.01, allocations: 8.953 kB / 0.7782 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/1.01, allocations: 45.5 kB / 0.7782 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/1.01, allocations: 48.11 kB / 0.7783 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/1.01, allocations: 6 kB / 0.7783 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/1.012, allocations: 1.524 MB / 0.7798 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.012, allocations: 0 / 0.7798 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/1.013, allocations: 0.4963 MB / 0.7803 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/1.013, allocations: 126 kB / 0.7804 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/1.013, allocations: 6.062 kB / 0.7804 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/1.013, allocations: 16.75 kB / 0.7804 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.014, allocations: 24.16 kB / 0.7804 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/1.014, allocations: 8.078 kB / 0.7804 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003792/1.014, allocations: 246.5 kB / 0.7807 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.014, allocations: 5.312 kB / 0.7807 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008113/1.015, allocations: 120.2 kB / 0.7808 GB, free: 10.67 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (flowResistance.inlet.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002178/1.017, allocations: 1.147 MB / 0.7819 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001047/1.018, allocations: 382.2 kB / 0.7823 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.018, allocations: 0 / 0.7823 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/1.018, allocations: 241.5 kB / 0.7825 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/1.019, allocations: 115.2 kB / 0.7826 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/1.025, allocations: 3.249 MB / 0.7858 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/1.026, allocations: 0.7816 MB / 0.7866 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002794/1.026, allocations: 66.16 kB / 0.7866 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/1.026, allocations: 122 kB / 0.7867 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of SimCode: time 2.174e-06/1.026, allocations: 3.094 kB / 0.7867 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/1.078, allocations: 10.42 MB / 0.7969 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.26, allocations: 13.66 kB / 0.7969 GB, free: 5.965 MB / 0.5919 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv failed! Error: Could not read variable pulse.T_start in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv. Warning: Get data of variable pulse.T_start from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv failed! Error: Could not read variable pulse.count in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv. Warning: Get data of variable pulse.count from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.752614782002638]