Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.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.001282/0.001282, allocations: 109 kB / 17.54 MB, free: 4.766 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.001184/0.001184, allocations: 181.9 kB / 20.71 MB, free: 1.609 MB / 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.364/1.364, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5832/0.5832, allocations: 94.59 MB / 399 MB, free: 15.82 MB / 334.1 MB " [Timeout remaining time 179] 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.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 83.86 kB / 0.5442 GB, free: 12.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3503, allocations: 71.84 MB / 0.6143 GB, free: 3.875 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1779/0.5282, allocations: 144.4 MB / 0.7554 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004539/0.5328, allocations: 3.65 MB / 0.7589 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.533, allocations: 15.88 kB / 0.759 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006572/0.5336, allocations: 178.8 kB / 0.7591 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008006/0.5344, allocations: 389.8 kB / 0.7595 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.5351, allocations: 290.9 kB / 0.7598 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006872/0.5358, allocations: 0.5212 MB / 0.7603 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.5359, allocations: 53.73 kB / 0.7603 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.5364, allocations: 266.9 kB / 0.7606 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.5367, allocations: 238.9 kB / 0.7608 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.5368, allocations: 24 kB / 0.7608 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009978/0.5378, allocations: 0.4913 MB / 0.7613 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.5378, allocations: 67.64 kB / 0.7614 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.538, allocations: 175 kB / 0.7616 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007909/0.5388, allocations: 0.5486 MB / 0.7621 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5388, allocations: 4 kB / 0.7621 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5388, allocations: 0 / 0.7621 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.5388, allocations: 0 / 0.7621 GB, free: 13.31 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00137/0.5402, allocations: 0.7571 MB / 0.7628 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.5402, allocations: 8.031 kB / 0.7628 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.5403, allocations: 58.72 kB / 0.7629 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.5404, allocations: 44.66 kB / 0.7629 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006411/0.5411, allocations: 390.5 kB / 0.7633 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.5411, allocations: 24.38 kB / 0.7633 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.5411, allocations: 20 kB / 0.7634 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.5417, allocations: 269.7 kB / 0.7636 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.5417, allocations: 0 / 0.7636 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.5418, allocations: 12 kB / 0.7636 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5418, allocations: 4 kB / 0.7636 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.5423, allocations: 217.6 kB / 0.7638 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.5438, allocations: 1.093 MB / 0.7649 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.5443, allocations: 221 kB / 0.7651 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.5445, allocations: 100.8 kB / 0.7652 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.5457, allocations: 0.9838 MB / 0.7662 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/0.546, allocations: 151.9 kB / 0.7663 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.546, allocations: 0 / 0.7663 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001254/0.5473, allocations: 482.6 kB / 0.7668 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.5473, allocations: 55.41 kB / 0.7668 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.5477, allocations: 337.7 kB / 0.7672 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.5477, allocations: 29.7 kB / 0.7672 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.5479, allocations: 200.4 kB / 0.7674 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.548, allocations: 75.38 kB / 0.7674 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.5481, allocations: 49.89 kB / 0.7675 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5482, allocations: 346.8 kB / 0.7678 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.5485, allocations: 84.19 kB / 0.7679 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.5487, allocations: 115 kB / 0.768 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.5492, allocations: 217.1 kB / 0.7682 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5492, allocations: 0 / 0.7682 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006945/0.5499, allocations: 346.3 kB / 0.7685 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.55, allocations: 33.7 kB / 0.7686 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.55, allocations: 0 / 0.7686 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.5502, allocations: 44.89 kB / 0.7686 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.5504, allocations: 39.97 kB / 0.7687 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.5518, allocations: 1.532 MB / 0.7702 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.552, allocations: 27.84 kB / 0.7702 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.552, allocations: 8 kB / 0.7702 GB, free: 4.367 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.0001587/0.5521, allocations: 157.7 kB / 0.7703 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.5522, allocations: 35.77 kB / 0.7704 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007437/0.5529, allocations: 341.5 kB / 0.7707 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5529, allocations: 4 kB / 0.7707 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.5529, allocations: 0 / 0.7707 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.553, allocations: 0 / 0.7707 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.5542, allocations: 0.7576 MB / 0.7714 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5542, allocations: 0 / 0.7714 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.5544, allocations: 39.97 kB / 0.7715 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/0.5545, allocations: 44.77 kB / 0.7715 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.5546, allocations: 4 kB / 0.7715 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.5559, allocations: 1.536 MB / 0.773 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5559, allocations: 4 kB / 0.773 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.5569, allocations: 0.4935 MB / 0.7735 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.239e-05/0.557, allocations: 116.8 kB / 0.7736 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.5571, allocations: 12.06 kB / 0.7736 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.5573, allocations: 11.98 kB / 0.7736 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.5573, allocations: 27.91 kB / 0.7737 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.5573, allocations: 11.98 kB / 0.7737 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002605/0.5576, allocations: 243.2 kB / 0.7739 GB, free: 288 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5576, allocations: 0 / 0.7739 GB, free: 288 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005206/0.5581, allocations: 127.7 kB / 0.774 GB, free: 160 kB / 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.001543/0.5597, allocations: 1.148 MB / 0.7752 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007563/0.5604, allocations: 385.8 kB / 0.7755 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5604, allocations: 3.938 kB / 0.7755 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.5608, allocations: 234.4 kB / 0.7758 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.5615, allocations: 120.7 kB / 0.7759 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.5663, allocations: 3.236 MB / 0.779 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.5667, allocations: 0.7871 MB / 0.7798 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.5669, allocations: 62.73 kB / 0.7799 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.5671, allocations: 127.4 kB / 0.78 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.5671, allocations: 0 / 0.78 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/0.6098, allocations: 10.4 MB / 0.7901 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.958/10.57, allocations: 8.047 kB / 0.7901 GB, free: 15.6 MB / 0.6231 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv failed! Error: Could not read variable pulse.T_start in file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv. Warning: Get data of variable pulse.T_start from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv failed! Error: Could not read variable pulse.count in file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv. Warning: Get data of variable pulse.count from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.689395722001791]