Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001894/0.001894, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002601/0.002601, allocations: 217 kB / 23.03 MB, free: 4.922 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.768/0.768, allocations: 94.63 MB / 407.8 MB, free: 8.922 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.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="cs",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.002475/0.002475, allocations: 88.19 kB / 0.5557 GB, free: 38.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1312, allocations: 73.05 MB / 0.627 GB, free: 208 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.545/0.6763, allocations: 150.1 MB / 0.7736 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.6884, allocations: 10.5 MB / 0.7839 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.6905, allocations: 97.69 kB / 0.784 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.6926, allocations: 0.8376 MB / 0.7848 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004619/0.6972, allocations: 1.734 MB / 0.7865 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.7007, allocations: 1.359 MB / 0.7878 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.7038, allocations: 2.604 MB / 0.7903 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.7043, allocations: 246.1 kB / 0.7906 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.7073, allocations: 1.485 MB / 0.792 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.7089, allocations: 1.164 MB / 0.7932 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.7091, allocations: 111.6 kB / 0.7933 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.7124, allocations: 1.565 MB / 0.7948 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.7127, allocations: 341.7 kB / 0.7951 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006754/0.7133, allocations: 0.642 MB / 0.7958 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.7172, allocations: 2.487 MB / 0.7982 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7172, allocations: 0 / 0.7982 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.033e-06/0.7172, allocations: 1.062 kB / 0.7982 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.951e-05/0.7172, allocations: 0 / 0.7982 GB, free: 1.484 MB / 0.5762 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.003977/0.7212, allocations: 2.091 MB / 0.8002 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7212, allocations: 9.125 kB / 0.8002 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.909e-05/0.7213, allocations: 28.47 kB / 0.8003 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.7214, allocations: 160.6 kB / 0.8004 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005093/0.7219, allocations: 228.6 kB / 0.8006 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.7238, allocations: 1.135 MB / 0.8017 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.7239, allocations: 83.22 kB / 0.8018 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.724, allocations: 116.6 kB / 0.8019 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.7257, allocations: 1.232 MB / 0.8031 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.7257, allocations: 0 / 0.8031 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/0.7258, allocations: 47.66 kB / 0.8032 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.7258, allocations: 25.5 kB / 0.8032 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.7274, allocations: 1.101 MB / 0.8043 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005526/0.7329, allocations: 3.877 MB / 0.8081 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.7342, allocations: 0.7237 MB / 0.8088 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005297/0.7348, allocations: 381 kB / 0.8091 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003072/0.7378, allocations: 1.522 MB / 0.8106 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.7379, allocations: 45.62 kB / 0.8107 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.336e-06/0.7379, allocations: 0 / 0.8107 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003275/0.7411, allocations: 1.457 MB / 0.8121 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.7412, allocations: 115 kB / 0.8122 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.7428, allocations: 1.301 MB / 0.8135 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/0.7429, allocations: 44.83 kB / 0.8135 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.7434, allocations: 0.6247 MB / 0.8141 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.7438, allocations: 390.2 kB / 0.8145 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.7441, allocations: 200.3 kB / 0.8147 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7442, allocations: 346.8 kB / 0.815 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.7447, allocations: 301.4 kB / 0.8153 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.7454, allocations: 0.5051 MB / 0.8158 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.7467, allocations: 0.7919 MB / 0.8166 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.7467, allocations: 0.8438 kB / 0.8166 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002158/0.7488, allocations: 1.168 MB / 0.8177 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.7488, allocations: 8.5 kB / 0.8177 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.7489, allocations: 3.25 kB / 0.8177 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005518/0.7494, allocations: 165.5 kB / 0.8179 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/0.7502, allocations: 206.5 kB / 0.8181 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/0.7558, allocations: 6.719 MB / 0.8246 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009739/0.7568, allocations: 108.5 kB / 0.8247 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.7569, allocations: 52.77 kB / 0.8248 GB, free: 2.695 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0005969/0.7575, allocations: 313.9 kB / 0.8251 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/0.7578, allocations: 173.7 kB / 0.8253 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.7606, allocations: 1.674 MB / 0.8269 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.7606, allocations: 9.125 kB / 0.8269 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7606, allocations: 6.266 kB / 0.8269 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.7606, allocations: 3.609 kB / 0.8269 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.7636, allocations: 2.079 MB / 0.8289 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.7636, allocations: 6.469 kB / 0.8289 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.7641, allocations: 124.8 kB / 0.8291 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.7646, allocations: 163 kB / 0.8292 GB, free: 312 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.7647, allocations: 30.12 kB / 0.8293 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/0.77, allocations: 6.712 MB / 0.8358 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.77, allocations: 5.719 kB / 0.8358 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.7725, allocations: 1.551 MB / 0.8373 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.773, allocations: 264.4 kB / 0.8376 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.7732, allocations: 40.03 kB / 0.8376 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.7738, allocations: 30.39 kB / 0.8376 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.774, allocations: 77.33 kB / 0.8377 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.774, allocations: 36.8 kB / 0.8378 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001276/0.7753, allocations: 0.9993 MB / 0.8387 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7753, allocations: 0 / 0.8387 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00139/0.7767, allocations: 441.4 kB / 0.8392 GB, free: 8.004 MB / 0.6075 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 (70): * 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: 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.004602/0.7813, allocations: 2.743 MB / 0.8418 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002377/0.7837, allocations: 1.284 MB / 0.8431 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.7837, allocations: 0 / 0.8431 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.7849, allocations: 0.9111 MB / 0.844 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.7874, allocations: 483.5 kB / 0.8444 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.8051, allocations: 10.96 MB / 0.8551 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007425/0.8058, allocations: 0.6387 MB / 0.8558 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001038/0.8069, allocations: 295.3 kB / 0.856 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008239/0.8077, allocations: 0.6164 MB / 0.8566 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of SimCode: time 9.11e-07/0.8077, allocations: 0 / 0.8566 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09163/0.8993, allocations: 41.34 MB / 0.897 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.71, allocations: 7.672 kB / 0.897 GB, free: 0.5586 MB / 0.6544 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.675240442040376]