Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.788/0.788, allocations: 93.7 MB / 384.1 MB, free: 6.957 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002506, allocations: 78.56 kB / 463.5 MB, free: 22.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1287, allocations: 68.26 MB / 0.5193 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.05183/0.1806, allocations: 44.96 MB / 0.5632 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.1979, allocations: 12.29 MB / 0.5752 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.1993, allocations: 59.62 kB / 0.5753 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.2018, allocations: 1.15 MB / 0.5764 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005125/0.2069, allocations: 2.062 MB / 0.5784 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.21, allocations: 1.175 MB / 0.5795 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003707/0.2137, allocations: 2.794 MB / 0.5823 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.2145, allocations: 469.8 kB / 0.5827 GB, free: 5.699 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.2172, allocations: 1.323 MB / 0.584 GB, free: 4.371 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.2188, allocations: 1.097 MB / 0.5851 GB, free: 3.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.219, allocations: 132 kB / 0.5852 GB, free: 3.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.2224, allocations: 1.155 MB / 0.5863 GB, free: 1.984 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006196/0.223, allocations: 430.2 kB / 0.5867 GB, free: 1.562 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.2241, allocations: 0.9595 MB / 0.5877 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2837/0.5079, allocations: 2.823 MB / 0.5904 GB, free: 13.13 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5079, allocations: 0 / 0.5904 GB, free: 13.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5079, allocations: 0 / 0.5904 GB, free: 13.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002349/0.5082, allocations: 0.75 kB / 0.5904 GB, free: 13.13 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.008001/0.5162, allocations: 2.466 MB / 0.5928 GB, free: 11.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.5162, allocations: 12.47 kB / 0.5929 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004831/0.5167, allocations: 190.8 kB / 0.593 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008249/0.5176, allocations: 232.3 kB / 0.5933 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/0.5206, allocations: 1.268 MB / 0.5945 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.5208, allocations: 96.09 kB / 0.5946 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003484/0.5211, allocations: 133.7 kB / 0.5947 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.5243, allocations: 1.497 MB / 0.5962 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.5244, allocations: 0 / 0.5962 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.5245, allocations: 55.58 kB / 0.5962 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/0.5245, allocations: 31.69 kB / 0.5963 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/0.5278, allocations: 1.558 MB / 0.5978 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009755/0.5376, allocations: 6.3 MB / 0.6039 GB, free: 23.63 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.5399, allocations: 1.296 MB / 0.6052 GB, free: 23.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.541, allocations: 0.6773 MB / 0.6059 GB, free: 23.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006278/0.5473, allocations: 4.593 MB / 0.6103 GB, free: 20.31 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.5487, allocations: 0.6801 MB / 0.611 GB, free: 20.26 MB / 478.1 MB Notification: Performance of pre-optimization done (n=139): time 3.587e-06/0.5487, allocations: 0 / 0.611 GB, free: 20.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=139): time 0.004247/0.553, allocations: 2.122 MB / 0.6131 GB, free: 19.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.5531, allocations: 69.28 kB / 0.6132 GB, free: 19.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.5551, allocations: 1.294 MB / 0.6144 GB, free: 19.67 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.5552, allocations: 50.95 kB / 0.6145 GB, free: 19.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/0.5557, allocations: 0.6965 MB / 0.6151 GB, free: 19.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.5561, allocations: 470 kB / 0.6156 GB, free: 19.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003855/0.5565, allocations: 252.2 kB / 0.6158 GB, free: 19.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.5566, allocations: 353.1 kB / 0.6162 GB, free: 18.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008606/0.5575, allocations: 464.2 kB / 0.6166 GB, free: 18.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.5585, allocations: 0.6176 MB / 0.6172 GB, free: 18.63 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.5608, allocations: 1.16 MB / 0.6183 GB, free: 18.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.5608, allocations: 1.031 kB / 0.6183 GB, free: 18.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003155/0.564, allocations: 1.532 MB / 0.6198 GB, free: 18.26 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.564, allocations: 40.19 kB / 0.6199 GB, free: 18.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5641, allocations: 3.344 kB / 0.6199 GB, free: 18.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/0.5645, allocations: 108.6 kB / 0.62 GB, free: 18.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/0.5654, allocations: 278.2 kB / 0.6203 GB, free: 18.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.5684, allocations: 3.221 MB / 0.6234 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.5696, allocations: 122.9 kB / 0.6235 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.5697, allocations: 58.03 kB / 0.6236 GB, free: 15.33 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * 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.0009833/0.5707, allocations: 397.4 kB / 0.624 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/0.5712, allocations: 175.7 kB / 0.6241 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/0.5765, allocations: 2.281 MB / 0.6263 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.5765, allocations: 19.47 kB / 0.6264 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.5765, allocations: 2.531 kB / 0.6264 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.5765, allocations: 11.25 kB / 0.6264 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007716/0.5843, allocations: 3.461 MB / 0.6298 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.5843, allocations: 4.484 kB / 0.6298 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.5853, allocations: 281.9 kB / 0.63 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003754/0.5857, allocations: 111.5 kB / 0.6301 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.5859, allocations: 51.47 kB / 0.6302 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003465/0.5893, allocations: 3.221 MB / 0.6333 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.5894, allocations: 9.688 kB / 0.6333 GB, free: 9.371 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/0.5942, allocations: 2.381 MB / 0.6357 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.5954, allocations: 465.6 kB / 0.6361 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004955/0.5959, allocations: 42.52 kB / 0.6362 GB, free: 7.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009827/0.5969, allocations: 46.42 kB / 0.6362 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.5972, allocations: 126.1 kB / 0.6363 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.5973, allocations: 65.69 kB / 0.6364 GB, free: 7.875 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001792/0.5991, allocations: 0.9123 MB / 0.6373 GB, free: 7.543 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.5992, allocations: 0 / 0.6373 GB, free: 7.543 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002379/0.6016, allocations: 0.5875 MB / 0.6378 GB, free: 7.391 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.rear.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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.007054/0.6086, allocations: 3.662 MB / 0.6414 GB, free: 5.547 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004798/0.6135, allocations: 1.654 MB / 0.643 GB, free: 4.789 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.6135, allocations: 0.75 kB / 0.643 GB, free: 4.789 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.6153, allocations: 0.9994 MB / 0.644 GB, free: 4.316 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.6183, allocations: 0.5044 MB / 0.6445 GB, free: 4.121 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/0.6429, allocations: 12.86 MB / 0.6571 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.6446, allocations: 1.348 MB / 0.6584 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00177/0.6464, allocations: 395 kB / 0.6588 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/0.6478, allocations: 0.759 MB / 0.6595 GB, free: 8.977 MB / 494.1 MB Notification: Performance of SimCode: time 1.773e-06/0.6478, allocations: 7.281 kB / 0.6595 GB, free: 8.973 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.7522, allocations: 43.97 MB / 0.7024 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.69, allocations: 3.859 kB / 0.7025 GB, free: 13.41 MB / 0.5294 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.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_Undirected_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches