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.001126/0.001126, allocations: 76.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.001656/0.001656, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 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.033/1.033, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.6965/0.6965, allocations: 80.18 MB / 339.4 MB, free: 7.539 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.849e-05, allocations: 8.469 kB / 0.4924 GB, free: 6.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.03473/0.03476, allocations: 36.22 MB / 0.5277 GB, free: 4.164 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.05056, allocations: 12.21 MB / 0.5397 GB, free: 7.91 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.05277, allocations: 71.31 kB / 0.5397 GB, free: 7.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.05546, allocations: 0.9166 MB / 0.5406 GB, free: 6.918 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.06081, allocations: 1.482 MB / 0.5421 GB, free: 5.426 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.06446, allocations: 1.062 MB / 0.5431 GB, free: 4.363 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00391/0.06837, allocations: 2.185 MB / 0.5452 GB, free: 2.168 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006697/0.06904, allocations: 207.7 kB / 0.5454 GB, free: 1.945 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/0.07286, allocations: 1.418 MB / 0.5468 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.07436, allocations: 0.5529 MB / 0.5474 GB, free: 15.97 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002737/0.07464, allocations: 92 kB / 0.5475 GB, free: 15.88 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.07781, allocations: 0.807 MB / 0.5482 GB, free: 15.07 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004797/0.07829, allocations: 338.4 kB / 0.5486 GB, free: 14.74 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007073/0.079, allocations: 482.5 kB / 0.549 GB, free: 14.27 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005154/0.08415, allocations: 2.137 MB / 0.5511 GB, free: 12.12 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.08416, allocations: 3.984 kB / 0.5511 GB, free: 12.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.08416, allocations: 0 / 0.5511 GB, free: 12.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.611e-05/0.08421, allocations: 0 / 0.5511 GB, free: 12.12 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003752/0.08796, allocations: 2.065 MB / 0.5531 GB, free: 10.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.999e-05/0.08803, allocations: 9.469 kB / 0.5531 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/0.08824, allocations: 135.2 kB / 0.5533 GB, free: 9.859 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004493/0.08869, allocations: 230.6 kB / 0.5535 GB, free: 9.633 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.09106, allocations: 1.159 MB / 0.5546 GB, free: 8.434 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.09111, allocations: 65.98 kB / 0.5547 GB, free: 8.367 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.09122, allocations: 87.95 kB / 0.5548 GB, free: 8.281 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.09255, allocations: 0.938 MB / 0.5557 GB, free: 7.305 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.09257, allocations: 4 kB / 0.5557 GB, free: 7.301 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.09262, allocations: 32 kB / 0.5557 GB, free: 7.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.09264, allocations: 20 kB / 0.5557 GB, free: 7.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.09367, allocations: 0.8002 MB / 0.5565 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004335/0.09801, allocations: 2.704 MB / 0.5592 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.09902, allocations: 0.597 MB / 0.5597 GB, free: 3.066 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.0994, allocations: 298.7 kB / 0.56 GB, free: 2.773 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/0.1014, allocations: 1.136 MB / 0.5611 GB, free: 1.617 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.1015, allocations: 43.22 kB / 0.5612 GB, free: 1.566 MB / 474.7 MB Notification: Performance of pre-optimization done (n=73): time 2.495e-06/0.1015, allocations: 0 / 0.5612 GB, free: 1.566 MB / 474.7 MB Notification: Performance of matching and sorting (n=73): time 0.001808/0.1033, allocations: 1.084 MB / 0.5622 GB, free: 480 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.1034, allocations: 60.06 kB / 0.5623 GB, free: 408 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.105, allocations: 1.41 MB / 0.5637 GB, free: 14.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.1051, allocations: 37.7 kB / 0.5637 GB, free: 14.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.1055, allocations: 0.6599 MB / 0.5644 GB, free: 14.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.1057, allocations: 257.7 kB / 0.5646 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.1059, allocations: 150.5 kB / 0.5647 GB, free: 13.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.106, allocations: 330 kB / 0.5651 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.1063, allocations: 209.9 kB / 0.5653 GB, free: 13.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.1067, allocations: 398.8 kB / 0.5656 GB, free: 12.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.1079, allocations: 0.5704 MB / 0.5662 GB, free: 12.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1079, allocations: 0 / 0.5662 GB, free: 12.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001177/0.1091, allocations: 0.8647 MB / 0.567 GB, free: 11.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.1091, allocations: 4 kB / 0.567 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1091, allocations: 4 kB / 0.567 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003377/0.1094, allocations: 113.9 kB / 0.5672 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.1098, allocations: 143.8 kB / 0.5673 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.1121, allocations: 2.993 MB / 0.5702 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.1126, allocations: 75.44 kB / 0.5703 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.1127, allocations: 24 kB / 0.5703 GB, free: 7.805 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (79): * Single equations (assignments): 77 * 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.0004794/0.1132, allocations: 333.6 kB / 0.5706 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.1133, allocations: 174.8 kB / 0.5708 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.1149, allocations: 1.101 MB / 0.5719 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.115, allocations: 8 kB / 0.5719 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.115, allocations: 11.94 kB / 0.5719 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.115, allocations: 3.984 kB / 0.5719 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.1177, allocations: 1.8 MB / 0.5736 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1177, allocations: 4 kB / 0.5737 GB, free: 4.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.1179, allocations: 111.9 kB / 0.5738 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/0.1183, allocations: 121.6 kB / 0.5739 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.1183, allocations: 23.98 kB / 0.5739 GB, free: 4.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.1204, allocations: 2.993 MB / 0.5768 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1204, allocations: 0 / 0.5768 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.1219, allocations: 1.193 MB / 0.578 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.1223, allocations: 284.5 kB / 0.5783 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.1224, allocations: 19.94 kB / 0.5783 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.1227, allocations: 23.98 kB / 0.5783 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.1229, allocations: 56.55 kB / 0.5784 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.1229, allocations: 27.98 kB / 0.5784 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001221/0.1241, allocations: 0.9837 MB / 0.5793 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.1241, allocations: 0 / 0.5793 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009907/0.1251, allocations: 411.2 kB / 0.5797 GB, free: 13.78 MB / 0.4948 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.003476/0.1286, allocations: 2.398 MB / 0.5821 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.1301, allocations: 0.7883 MB / 0.5828 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1302, allocations: 0 / 0.5828 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005185/0.1307, allocations: 0.5282 MB / 0.5834 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.1323, allocations: 0.5489 MB / 0.5839 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.1449, allocations: 9.453 MB / 0.5931 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/0.1456, allocations: 0.6354 MB / 0.5937 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001569/0.1472, allocations: 247.7 kB / 0.594 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/0.1477, allocations: 0.5784 MB / 0.5945 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of SimCode: time 2.094e-06/0.1477, allocations: 0 / 0.5945 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08474/0.2324, allocations: 39.67 MB / 0.6333 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.25, allocations: 7.219 kB / 0.6333 GB, free: 7.199 MB / 0.5417 GB " [Timeout remaining time 650] (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/jenkins/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: 13.966659558005631]