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.00216/0.00216, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00292/0.00292, allocations: 209.5 kB / 22.24 MB, free: 5.262 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.69/1.69, allocations: 230.6 MB / 256 MB, free: 7.809 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 1.101/1.101, allocations: 100.9 MB / 413.3 MB, free: 2.871 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.002659/0.002659, allocations: 85.41 kB / 0.5641 GB, free: 35.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2168, allocations: 74.62 MB / 0.6369 GB, free: 6.504 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.8529/1.07, allocations: 150.2 MB / 0.7836 GB, free: 2.797 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01905/1.089, allocations: 10.53 MB / 0.7939 GB, free: 2.633 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/1.093, allocations: 98.03 kB / 0.794 GB, free: 2.633 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.004364/1.097, allocations: 0.8273 MB / 0.7948 GB, free: 2.613 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.008922/1.106, allocations: 1.737 MB / 0.7965 GB, free: 2.555 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006214/1.112, allocations: 1.349 MB / 0.7978 GB, free: 2.523 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.008435/1.121, allocations: 2.593 MB / 0.8003 GB, free: 2.512 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001878/1.122, allocations: 232.1 kB / 0.8006 GB, free: 2.445 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007601/1.13, allocations: 1.501 MB / 0.802 GB, free: 2.379 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004197/1.134, allocations: 1.082 MB / 0.8031 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001172/1.135, allocations: 109.9 kB / 0.8032 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007995/1.143, allocations: 1.557 MB / 0.8047 GB, free: 2.137 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/1.145, allocations: 336 kB / 0.805 GB, free: 2.062 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002938/1.148, allocations: 0.6503 MB / 0.8057 GB, free: 1.852 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/1.158, allocations: 2.483 MB / 0.8081 GB, free: 1.328 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/1.158, allocations: 0 / 0.8081 GB, free: 1.328 MB / 0.5763 GB Notification: Performance of FrontEnd: time 3.487e-06/1.158, allocations: 3.938 kB / 0.8081 GB, free: 1.324 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001545/1.158, allocations: 0.8125 kB / 0.8081 GB, free: 1.324 MB / 0.5763 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.006449/1.164, allocations: 2.091 MB / 0.8101 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/1.164, allocations: 11.34 kB / 0.8102 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/1.165, allocations: 160.5 kB / 0.8103 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006769/1.165, allocations: 233.7 kB / 0.8105 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/1.168, allocations: 1.138 MB / 0.8116 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/1.168, allocations: 79.34 kB / 0.8117 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/1.168, allocations: 116.3 kB / 0.8118 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/1.171, allocations: 1.233 MB / 0.813 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/1.171, allocations: 4.156 kB / 0.813 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.171, allocations: 43.31 kB / 0.8131 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/1.171, allocations: 27.06 kB / 0.8131 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/1.173, allocations: 1.089 MB / 0.8142 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007464/1.18, allocations: 3.883 MB / 0.818 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/1.182, allocations: 0.7085 MB / 0.8186 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/1.183, allocations: 390.6 kB / 0.819 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003963/1.187, allocations: 1.516 MB / 0.8205 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/1.187, allocations: 50.39 kB / 0.8205 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.637e-06/1.187, allocations: 0 / 0.8205 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003802/1.191, allocations: 1.46 MB / 0.822 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.191, allocations: 119.3 kB / 0.8221 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/1.193, allocations: 1.295 MB / 0.8234 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.907e-05/1.193, allocations: 45.03 kB / 0.8234 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007243/1.194, allocations: 0.6312 MB / 0.824 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/1.194, allocations: 389.1 kB / 0.8244 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/1.194, allocations: 202.2 kB / 0.8246 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002062/1.195, allocations: 349.3 kB / 0.8249 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/1.195, allocations: 293.2 kB / 0.8252 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008376/1.196, allocations: 0.5058 MB / 0.8257 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/1.197, allocations: 0.7985 MB / 0.8265 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.197, allocations: 0 / 0.8265 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002624/1.2, allocations: 1.166 MB / 0.8276 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.2, allocations: 10.52 kB / 0.8276 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.2, allocations: 6.125 kB / 0.8276 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/1.201, allocations: 157.8 kB / 0.8278 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/1.201, allocations: 211.6 kB / 0.828 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006522/1.208, allocations: 6.718 MB / 0.8345 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.209, allocations: 120.2 kB / 0.8346 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/1.21, allocations: 43.36 kB / 0.8347 GB, free: 15.45 MB / 0.6075 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.001029/1.211, allocations: 316.3 kB / 0.835 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/1.211, allocations: 177.9 kB / 0.8352 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/1.214, allocations: 1.679 MB / 0.8368 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/1.214, allocations: 9.812 kB / 0.8368 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.214, allocations: 2.25 kB / 0.8368 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/1.214, allocations: 4.734 kB / 0.8368 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004151/1.219, allocations: 2.079 MB / 0.8388 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/1.219, allocations: 7.438 kB / 0.8389 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/1.219, allocations: 120.3 kB / 0.839 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000508/1.22, allocations: 165.6 kB / 0.8391 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/1.22, allocations: 28.36 kB / 0.8392 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00691/1.227, allocations: 6.718 MB / 0.8457 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.227, allocations: 2.281 kB / 0.8457 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/1.23, allocations: 1.55 MB / 0.8472 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000991/1.231, allocations: 263 kB / 0.8475 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/1.231, allocations: 35.53 kB / 0.8475 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/1.232, allocations: 20.72 kB / 0.8475 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/1.232, allocations: 72.66 kB / 0.8476 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/1.232, allocations: 36.47 kB / 0.8476 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001707/1.234, allocations: 0.9948 MB / 0.8486 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.234, allocations: 0 / 0.8486 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002127/1.236, allocations: 449.7 kB / 0.849 GB, free: 3.766 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.006069/1.242, allocations: 2.744 MB / 0.8517 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003595/1.246, allocations: 1.283 MB / 0.853 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.127e-05/1.246, allocations: 0.6875 kB / 0.853 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/1.248, allocations: 0.9038 MB / 0.8539 GB, free: 428 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/1.251, allocations: 488.8 kB / 0.8543 GB, free: 16 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/1.274, allocations: 10.98 MB / 0.865 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009127/1.275, allocations: 0.6402 MB / 0.8657 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001391/1.276, allocations: 299 kB / 0.8659 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009339/1.277, allocations: 0.6125 MB / 0.8665 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of SimCode: time 1.693e-06/1.277, allocations: 0 / 0.8665 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.4, allocations: 41.66 MB / 0.9072 GB, free: 9.992 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.65, allocations: 64 / 0.9072 GB, free: 9.992 MB / 0.67 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: 21.47915903571993]