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.002323/0.002323, allocations: 108.1 kB / 16.45 MB, free: 6.453 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.002452/0.002452, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.698/1.698, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.9709/0.9709, allocations: 94.54 MB / 403.4 MB, free: 10.13 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.002762/0.002762, allocations: 87.3 kB / 0.5499 GB, free: 39.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2112, allocations: 73.01 MB / 0.6212 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04783/0.259, allocations: 37.42 MB / 0.6577 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02288/0.2819, allocations: 15.09 MB / 0.6725 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.2846, allocations: 67.38 kB / 0.6725 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.2873, allocations: 0.96 MB / 0.6735 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005923/0.2933, allocations: 1.375 MB / 0.6748 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.2973, allocations: 1.029 MB / 0.6758 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005108/0.3024, allocations: 1.953 MB / 0.6777 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006447/0.303, allocations: 219 kB / 0.6779 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.3057, allocations: 1.074 MB / 0.679 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.307, allocations: 0.7151 MB / 0.6797 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.3071, allocations: 95.98 kB / 0.6798 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.3108, allocations: 0.8819 MB / 0.6806 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003857/0.3112, allocations: 318.5 kB / 0.6809 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009347/0.3121, allocations: 0.7338 MB / 0.6817 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005861/0.318, allocations: 2.124 MB / 0.6837 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.964e-06/0.318, allocations: 0 / 0.6837 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.224e-06/0.318, allocations: 4 kB / 0.6837 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.444e-05/0.3181, allocations: 0 / 0.6837 GB, free: 1.672 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.004558/0.3226, allocations: 2.108 MB / 0.6858 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.124e-05/0.3227, allocations: 12.03 kB / 0.6858 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.3229, allocations: 123.1 kB / 0.6859 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/0.3233, allocations: 206.1 kB / 0.6861 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.326, allocations: 1.226 MB / 0.6873 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.402e-05/0.3261, allocations: 62 kB / 0.6874 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.3263, allocations: 87.94 kB / 0.6875 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.3281, allocations: 0.8571 MB / 0.6883 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.3282, allocations: 4 kB / 0.6883 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.198e-05/0.3282, allocations: 28 kB / 0.6883 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.3282, allocations: 20 kB / 0.6883 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.3297, allocations: 0.7964 MB / 0.6891 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005968/0.3357, allocations: 3.599 MB / 0.6926 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.3369, allocations: 0.572 MB / 0.6932 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/0.3374, allocations: 298.7 kB / 0.6935 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004756/0.3422, allocations: 3.412 MB / 0.6968 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.3422, allocations: 39.22 kB / 0.6968 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.064e-06/0.3423, allocations: 0 / 0.6968 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.003028/0.3453, allocations: 1.25 MB / 0.6981 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.3454, allocations: 60.06 kB / 0.6981 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.3478, allocations: 1.344 MB / 0.6994 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/0.3478, allocations: 41.7 kB / 0.6995 GB, free: 468 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007221/0.3486, allocations: 0.6324 MB / 0.7001 GB, free: 15.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.3488, allocations: 261.7 kB / 0.7003 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.349, allocations: 138.6 kB / 0.7005 GB, free: 15.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3492, allocations: 337.9 kB / 0.7008 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.3497, allocations: 213.8 kB / 0.701 GB, free: 14.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.3502, allocations: 306.3 kB / 0.7013 GB, free: 14.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.3513, allocations: 0.542 MB / 0.7018 GB, free: 13.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3513, allocations: 0 / 0.7018 GB, free: 13.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001875/0.3532, allocations: 0.8374 MB / 0.7026 GB, free: 13.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.3532, allocations: 8 kB / 0.7027 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3532, allocations: 0 / 0.7027 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.3538, allocations: 113.8 kB / 0.7028 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.3544, allocations: 143.7 kB / 0.7029 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.3578, allocations: 3.212 MB / 0.706 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009177/0.3587, allocations: 63.52 kB / 0.7061 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/0.3588, allocations: 31.98 kB / 0.7061 GB, free: 9.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0007774/0.3596, allocations: 329.8 kB / 0.7064 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.3599, allocations: 159 kB / 0.7066 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.3624, allocations: 1.146 MB / 0.7077 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.3624, allocations: 7.984 kB / 0.7077 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3624, allocations: 4 kB / 0.7077 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.3624, allocations: 7.984 kB / 0.7077 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.366, allocations: 2.007 MB / 0.7097 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.366, allocations: 0 / 0.7097 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.3664, allocations: 123.8 kB / 0.7098 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/0.3669, allocations: 121.7 kB / 0.7099 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.3669, allocations: 23.98 kB / 0.7099 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003293/0.3702, allocations: 3.212 MB / 0.7131 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3702, allocations: 3.938 kB / 0.7131 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.3728, allocations: 1.233 MB / 0.7143 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007475/0.3735, allocations: 339.8 kB / 0.7146 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.3737, allocations: 28.11 kB / 0.7146 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.3742, allocations: 28.05 kB / 0.7147 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.3743, allocations: 60.52 kB / 0.7147 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/0.3744, allocations: 32.06 kB / 0.7148 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001592/0.376, allocations: 0.9545 MB / 0.7157 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.376, allocations: 0 / 0.7157 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001697/0.3777, allocations: 423 kB / 0.7161 GB, free: 14.61 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 (67): * Single equations (assignments): 65 * 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.005273/0.383, allocations: 2.441 MB / 0.7185 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002166/0.3851, allocations: 0.7959 MB / 0.7193 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.3851, allocations: 4 kB / 0.7193 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.3862, allocations: 0.5399 MB / 0.7198 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.3884, allocations: 405.3 kB / 0.7202 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.4059, allocations: 9.181 MB / 0.7291 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.407, allocations: 1.211 MB / 0.7303 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001079/0.4081, allocations: 252.3 kB / 0.7306 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009399/0.4091, allocations: 0.5618 MB / 0.7311 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of SimCode: time 4.93e-06/0.4091, allocations: 3.938 kB / 0.7311 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5784/0.9875, allocations: 34.7 MB / 0.765 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/16.04, allocations: 11.36 kB / 0.765 GB, free: 112 MB / 0.5762 GB " [Timeout remaining time 644] (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: 20.700250602996675]