Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.002277/0.002277, 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.002735/0.002735, allocations: 209.1 kB / 22.24 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.722/1.722, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.016/1.016, allocations: 100.9 MB / 413.3 MB, free: 2.844 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_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.002735/0.002735, allocations: 85.14 kB / 0.5641 GB, free: 35.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2315, allocations: 74.62 MB / 0.6369 GB, free: 6.469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.05003/0.2815, allocations: 34.19 MB / 0.6703 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02069/0.3022, allocations: 13.79 MB / 0.6838 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.3044, allocations: 67.38 kB / 0.6839 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.3071, allocations: 0.89 MB / 0.6847 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00567/0.3128, allocations: 1.367 MB / 0.6861 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004487/0.3172, allocations: 1.027 MB / 0.6871 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004785/0.322, allocations: 1.953 MB / 0.689 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007112/0.3227, allocations: 211.5 kB / 0.6892 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.3253, allocations: 1.086 MB / 0.6902 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.3267, allocations: 0.6488 MB / 0.6909 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004328/0.3271, allocations: 88 kB / 0.691 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.3303, allocations: 0.792 MB / 0.6917 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.3307, allocations: 334.5 kB / 0.6921 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007506/0.3315, allocations: 0.5747 MB / 0.6926 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004675/0.3361, allocations: 2.101 MB / 0.6947 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3361, allocations: 0 / 0.6947 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3361, allocations: 0 / 0.6947 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.518e-05/0.3362, allocations: 0 / 0.6947 GB, free: 11.12 MB / 0.5294 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.004308/0.3405, allocations: 2.038 MB / 0.6967 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.3405, allocations: 9.469 kB / 0.6967 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.3407, allocations: 131.1 kB / 0.6968 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005003/0.3412, allocations: 222.8 kB / 0.697 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.3436, allocations: 1.131 MB / 0.6981 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.3436, allocations: 58 kB / 0.6982 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.3437, allocations: 80 kB / 0.6982 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.3454, allocations: 0.9034 MB / 0.6991 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.3454, allocations: 0 / 0.6991 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/0.3455, allocations: 36 kB / 0.6992 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.3455, allocations: 23.94 kB / 0.6992 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.3468, allocations: 0.7924 MB / 0.7 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/0.3512, allocations: 2.334 MB / 0.7022 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.3524, allocations: 0.6014 MB / 0.7028 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.3529, allocations: 298.6 kB / 0.7031 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002629/0.3555, allocations: 1.139 MB / 0.7042 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.3556, allocations: 43.22 kB / 0.7043 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.064e-06/0.3556, allocations: 3.938 kB / 0.7043 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.00257/0.3581, allocations: 1.065 MB / 0.7053 GB, free: 15.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.3582, allocations: 64 kB / 0.7054 GB, free: 15.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.3601, allocations: 1.344 MB / 0.7067 GB, free: 14.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.3602, allocations: 41.7 kB / 0.7067 GB, free: 14.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006115/0.3608, allocations: 0.6246 MB / 0.7073 GB, free: 13.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.361, allocations: 265.7 kB / 0.7076 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.3612, allocations: 142.5 kB / 0.7077 GB, free: 13.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3614, allocations: 334 kB / 0.708 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.3618, allocations: 209.9 kB / 0.7082 GB, free: 12.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.3624, allocations: 371.3 kB / 0.7086 GB, free: 12.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.3634, allocations: 0.5436 MB / 0.7091 GB, free: 11.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3634, allocations: 0 / 0.7091 GB, free: 11.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001629/0.3651, allocations: 0.822 MB / 0.7099 GB, free: 11.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3651, allocations: 11.94 kB / 0.7099 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3651, allocations: 0 / 0.7099 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/0.3655, allocations: 109.6 kB / 0.71 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.3661, allocations: 140 kB / 0.7102 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.3692, allocations: 2.989 MB / 0.7131 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008939/0.3701, allocations: 71.53 kB / 0.7132 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.805e-05/0.3702, allocations: 24.12 kB / 0.7132 GB, free: 7.551 MB / 0.545 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.0006533/0.3708, allocations: 327.3 kB / 0.7135 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.3711, allocations: 166.9 kB / 0.7137 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.3732, allocations: 1.098 MB / 0.7147 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3732, allocations: 4 kB / 0.7147 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3732, allocations: 4 kB / 0.7147 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.3732, allocations: 3.984 kB / 0.7147 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.3766, allocations: 1.791 MB / 0.7165 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3766, allocations: 0 / 0.7165 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.377, allocations: 119.8 kB / 0.7166 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000399/0.3774, allocations: 121.6 kB / 0.7167 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.3775, allocations: 23.98 kB / 0.7167 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003275/0.3808, allocations: 2.985 MB / 0.7197 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3808, allocations: 8.141 kB / 0.7197 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.383, allocations: 1.181 MB / 0.7208 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/0.3837, allocations: 280.6 kB / 0.7211 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.3839, allocations: 19.94 kB / 0.7211 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.3843, allocations: 28.05 kB / 0.7211 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.3845, allocations: 60.48 kB / 0.7212 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.3845, allocations: 24 kB / 0.7212 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001758/0.3863, allocations: 0.9545 MB / 0.7221 GB, free: 14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3863, allocations: 0 / 0.7221 GB, free: 14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001817/0.3881, allocations: 391.2 kB / 0.7225 GB, free: 13.62 MB / 0.5606 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.005769/0.3939, allocations: 2.364 MB / 0.7248 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002125/0.396, allocations: 0.7841 MB / 0.7256 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.396, allocations: 4.125 kB / 0.7256 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.3971, allocations: 0.5321 MB / 0.7261 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.3995, allocations: 416.9 kB / 0.7265 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.418, allocations: 9.105 MB / 0.7354 GB, free: 288 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008099/0.4188, allocations: 0.6233 MB / 0.736 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000995/0.4198, allocations: 229.4 kB / 0.7362 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007871/0.4206, allocations: 0.5578 MB / 0.7368 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of SimCode: time 1.903e-06/0.4206, allocations: 0 / 0.7368 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5957/1.016, allocations: 35.88 MB / 0.7718 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.76, allocations: 7.844 kB / 0.7718 GB, free: 101.8 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! Error: Could not read variable source1.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable source1.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.54857255378738]