Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.002154/0.002154, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002332/0.002332, allocations: 211.4 kB / 22.25 MB, free: 5.262 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.86/1.86, allocations: 230.6 MB / 256 MB, free: 7.789 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 1.199/1.199, allocations: 94.63 MB / 407.1 MB, free: 8.859 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.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",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.003494/0.003494, allocations: 93.64 kB / 0.5549 GB, free: 38.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2395, allocations: 73.05 MB / 0.6263 GB, free: 188 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.05295/0.2924, allocations: 34.22 MB / 0.6597 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02485/0.3173, allocations: 13.77 MB / 0.6732 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.3202, allocations: 67.48 kB / 0.6732 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003398/0.3236, allocations: 0.8861 MB / 0.6741 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00728/0.3309, allocations: 1.363 MB / 0.6754 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005108/0.336, allocations: 1.027 MB / 0.6764 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004285/0.3402, allocations: 1.964 MB / 0.6783 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006263/0.3409, allocations: 215.5 kB / 0.6785 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.3436, allocations: 1.078 MB / 0.6796 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.3446, allocations: 0.6526 MB / 0.6802 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.3448, allocations: 95.94 kB / 0.6803 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.3478, allocations: 0.7882 MB / 0.6811 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000471/0.3483, allocations: 326.5 kB / 0.6814 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008903/0.3492, allocations: 0.5708 MB / 0.682 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005451/0.3546, allocations: 2.116 MB / 0.684 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3546, allocations: 3.938 kB / 0.684 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.807e-06/0.3546, allocations: 0 / 0.684 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.024e-05/0.3547, allocations: 0 / 0.684 GB, free: 4.809 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.004858/0.3595, allocations: 2.03 MB / 0.686 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.169e-05/0.3596, allocations: 16.03 kB / 0.686 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.3598, allocations: 123.1 kB / 0.6861 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006153/0.3604, allocations: 218.8 kB / 0.6864 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.3631, allocations: 1.119 MB / 0.6874 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.3631, allocations: 62 kB / 0.6875 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3633, allocations: 83.95 kB / 0.6876 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.3651, allocations: 0.9034 MB / 0.6885 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.3651, allocations: 4 kB / 0.6885 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/0.3652, allocations: 35.94 kB / 0.6885 GB, free: 104 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.3652, allocations: 23.94 kB / 0.6885 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.3668, allocations: 0.7887 MB / 0.6893 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005021/0.3719, allocations: 2.323 MB / 0.6916 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.3731, allocations: 0.6272 MB / 0.6922 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/0.3737, allocations: 290.7 kB / 0.6925 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00264/0.3763, allocations: 1.136 MB / 0.6936 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/0.3764, allocations: 39.22 kB / 0.6936 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 3.026e-06/0.3764, allocations: 0 / 0.6936 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.00287/0.3792, allocations: 1.068 MB / 0.6946 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.3793, allocations: 64 kB / 0.6947 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.3816, allocations: 1.344 MB / 0.696 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.3816, allocations: 37.7 kB / 0.6961 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007051/0.3823, allocations: 0.6323 MB / 0.6967 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.3826, allocations: 265.7 kB / 0.6969 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.3828, allocations: 146.5 kB / 0.6971 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.383, allocations: 330 kB / 0.6974 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.3834, allocations: 213.8 kB / 0.6976 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.384, allocations: 367.4 kB / 0.6979 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.385, allocations: 0.5436 MB / 0.6985 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3851, allocations: 0 / 0.6985 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001868/0.3869, allocations: 0.8219 MB / 0.6993 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.387, allocations: 7.938 kB / 0.6993 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.387, allocations: 4 kB / 0.6993 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/0.3875, allocations: 109.9 kB / 0.6994 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.3881, allocations: 139.7 kB / 0.6995 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/0.3917, allocations: 2.989 MB / 0.7024 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006761/0.3924, allocations: 67.5 kB / 0.7025 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.3924, allocations: 24 kB / 0.7025 GB, free: 1.262 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (75): * Single equations (assignments): 73 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006836/0.3931, allocations: 329.7 kB / 0.7028 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.3934, allocations: 162.9 kB / 0.703 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.3957, allocations: 1.097 MB / 0.7041 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.3957, allocations: 8 kB / 0.7041 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3957, allocations: 4 kB / 0.7041 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.3957, allocations: 7.984 kB / 0.7041 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.3993, allocations: 1.795 MB / 0.7058 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3993, allocations: 0 / 0.7058 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.3998, allocations: 116 kB / 0.706 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003714/0.4002, allocations: 113.5 kB / 0.7061 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.4002, allocations: 27.92 kB / 0.7061 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/0.4035, allocations: 2.985 MB / 0.709 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.4035, allocations: 3.938 kB / 0.709 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.4061, allocations: 1.189 MB / 0.7102 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007911/0.4069, allocations: 272.6 kB / 0.7104 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.407, allocations: 16.19 kB / 0.7104 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.4075, allocations: 31.92 kB / 0.7105 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.4076, allocations: 56.55 kB / 0.7105 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.4077, allocations: 23.98 kB / 0.7105 GB, free: 8.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001601/0.4093, allocations: 0.9545 MB / 0.7115 GB, free: 7.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4093, allocations: 0 / 0.7115 GB, free: 7.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001322/0.4106, allocations: 395.2 kB / 0.7119 GB, free: 7.336 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (63): * Single equations (assignments): 61 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004986/0.4156, allocations: 2.378 MB / 0.7142 GB, free: 5.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002023/0.4176, allocations: 0.776 MB / 0.7149 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4176, allocations: 0 / 0.7149 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.4186, allocations: 0.5406 MB / 0.7155 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.4208, allocations: 413 kB / 0.7159 GB, free: 3.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/0.4388, allocations: 9.096 MB / 0.7247 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.4399, allocations: 0.6182 MB / 0.7253 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00112/0.441, allocations: 234.8 kB / 0.7256 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009438/0.4419, allocations: 0.5618 MB / 0.7261 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.795e-06/0.4419, allocations: 0 / 0.7261 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6871/1.129, allocations: 35.87 MB / 0.7611 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/17.12, allocations: 2.719 kB / 0.7611 GB, free: 116.3 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv --start-time 0 --stop-time 20 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! Error: Could not read variable source1.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable source1.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.475878818891943]