Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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.001461/0.001461, allocations: 108.6 kB / 16.46 MB, free: 6.508 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.00176/0.00176, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.542/1.542, allocations: 230.6 MB / 252.8 MB, free: 9.121 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 0.8623/0.8623, allocations: 100.3 MB / 409.1 MB, free: 4.762 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.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",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.002467/0.002467, allocations: 87.61 kB / 0.5582 GB, free: 36.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1454, allocations: 74.43 MB / 0.6309 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.5606/0.706, allocations: 173.2 MB / 0.8 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01377/0.7197, allocations: 11.52 MB / 0.8112 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.7226, allocations: 99.31 kB / 0.8113 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.7256, allocations: 0.8943 MB / 0.8122 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005705/0.7313, allocations: 1.765 MB / 0.8139 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004028/0.7353, allocations: 1.318 MB / 0.8152 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003992/0.7393, allocations: 2.571 MB / 0.8177 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006423/0.7399, allocations: 244.8 kB / 0.818 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.7431, allocations: 1.479 MB / 0.8194 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.745, allocations: 1.158 MB / 0.8205 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.7452, allocations: 107 kB / 0.8206 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004807/0.75, allocations: 1.881 MB / 0.8225 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005603/0.7506, allocations: 343.9 kB / 0.8228 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.7519, allocations: 0.8026 MB / 0.8236 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006755/0.7586, allocations: 2.521 MB / 0.826 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7587, allocations: 0 / 0.826 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7587, allocations: 0 / 0.826 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.105e-05/0.7587, allocations: 0 / 0.826 GB, free: 6.281 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.004851/0.7635, allocations: 2.173 MB / 0.8282 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.7636, allocations: 10.44 kB / 0.8282 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.7638, allocations: 162 kB / 0.8283 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.7642, allocations: 202 kB / 0.8285 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.7665, allocations: 1.239 MB / 0.8297 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.081e-05/0.7666, allocations: 81.88 kB / 0.8298 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.7667, allocations: 118.8 kB / 0.8299 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.7687, allocations: 1.176 MB / 0.8311 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.7687, allocations: 0 / 0.8311 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.921e-05/0.7688, allocations: 46.81 kB / 0.8311 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.7688, allocations: 24.88 kB / 0.8311 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.7705, allocations: 1.075 MB / 0.8322 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007356/0.7778, allocations: 5.275 MB / 0.8373 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.7793, allocations: 0.7028 MB / 0.838 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.7799, allocations: 395 kB / 0.8384 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005273/0.7852, allocations: 3.9 MB / 0.8422 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.7852, allocations: 48.12 kB / 0.8423 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=108): time 2.675e-06/0.7852, allocations: 0 / 0.8423 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108): time 0.003692/0.7889, allocations: 1.845 MB / 0.8441 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.789, allocations: 113.4 kB / 0.8442 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.7907, allocations: 1.301 MB / 0.8454 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.792e-05/0.7908, allocations: 46.36 kB / 0.8455 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/0.7913, allocations: 0.6245 MB / 0.8461 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.7916, allocations: 394.4 kB / 0.8465 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.7919, allocations: 198.5 kB / 0.8467 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.7921, allocations: 344.7 kB / 0.847 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.7926, allocations: 299 kB / 0.8473 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007261/0.7933, allocations: 450.8 kB / 0.8477 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.7946, allocations: 0.7674 MB / 0.8485 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.7946, allocations: 3.938 kB / 0.8485 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00245/0.7971, allocations: 1.157 MB / 0.8496 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.7971, allocations: 8.219 kB / 0.8496 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.7971, allocations: 4 kB / 0.8496 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.7977, allocations: 156.1 kB / 0.8497 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.7984, allocations: 215.6 kB / 0.85 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.8047, allocations: 7.25 MB / 0.857 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.806, allocations: 107.1 kB / 0.8571 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.8061, allocations: 43.98 kB / 0.8572 GB, free: 11.04 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (117): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006445/0.8068, allocations: 317.6 kB / 0.8575 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/0.8072, allocations: 178.9 kB / 0.8576 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/0.8103, allocations: 1.712 MB / 0.8593 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.8103, allocations: 8 kB / 0.8593 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.8103, allocations: 7.938 kB / 0.8593 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.8103, allocations: 3.984 kB / 0.8593 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/0.8144, allocations: 2.397 MB / 0.8617 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.8144, allocations: 4 kB / 0.8617 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/0.8149, allocations: 132.2 kB / 0.8618 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/0.8154, allocations: 164.2 kB / 0.862 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.8155, allocations: 27.98 kB / 0.862 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006322/0.8218, allocations: 7.26 MB / 0.8691 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8218, allocations: 4 kB / 0.8691 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.8249, allocations: 1.594 MB / 0.8706 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008214/0.8257, allocations: 339.7 kB / 0.871 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.826, allocations: 47.69 kB / 0.871 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/0.8266, allocations: 20 kB / 0.871 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.8268, allocations: 67.84 kB / 0.8711 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/0.8269, allocations: 43.92 kB / 0.8711 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001578/0.8285, allocations: 0.997 MB / 0.8721 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.8285, allocations: 0 / 0.8721 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002162/0.8306, allocations: 459.3 kB / 0.8726 GB, free: 10.34 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 5 (flowResistance1.m_flow,flowResistance.m_flow,basicControlValve.m_flow,specificValveType.m_flow,tanValve.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 (74): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005307/0.8359, allocations: 2.781 MB / 0.8753 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.8386, allocations: 1.292 MB / 0.8765 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.8386, allocations: 0 / 0.8765 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.8401, allocations: 0.9156 MB / 0.8774 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/0.843, allocations: 498.5 kB / 0.8779 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.8622, allocations: 10.99 MB / 0.8886 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009101/0.8631, allocations: 1.213 MB / 0.8898 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001077/0.8642, allocations: 313.3 kB / 0.8901 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/0.865, allocations: 0.6086 MB / 0.8907 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of SimCode: time 4.9e-07/0.865, allocations: 0 / 0.8907 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1466/1.012, allocations: 39.82 MB / 0.9296 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.98, allocations: 18.98 kB / 0.9296 GB, free: 15.84 MB / 0.7012 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.909050043905154]