Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6303/0.6303, allocations: 94.6 MB / 397.3 MB, free: 484 kB / 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-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.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 87.86 kB / 0.5416 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4119, allocations: 71.84 MB / 0.6118 GB, free: 3.957 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.249/0.6609, allocations: 202.6 MB / 0.8096 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.6797, allocations: 14.93 MB / 0.8242 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.6809, allocations: 47.69 kB / 0.8242 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.6823, allocations: 0.5161 MB / 0.8247 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004054/0.6864, allocations: 1.351 MB / 0.8261 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004036/0.6904, allocations: 1.389 MB / 0.8274 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.6925, allocations: 1.397 MB / 0.8288 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.6928, allocations: 176.6 kB / 0.8289 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.6951, allocations: 1.098 MB / 0.83 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006953/0.6958, allocations: 0.5053 MB / 0.8305 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.6959, allocations: 76 kB / 0.8306 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004923/0.7008, allocations: 2.531 MB / 0.8331 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.7011, allocations: 211 kB / 0.8333 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004843/0.7016, allocations: 0.5011 MB / 0.8337 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003463/0.705, allocations: 1.899 MB / 0.8356 GB, free: 15.61 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.705, allocations: 0 / 0.8356 GB, free: 15.61 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.263e-06/0.705, allocations: 3.938 kB / 0.8356 GB, free: 15.6 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.705, allocations: 0 / 0.8356 GB, free: 15.6 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002835/0.7079, allocations: 1.587 MB / 0.8372 GB, free: 13.96 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.7079, allocations: 12.03 kB / 0.8372 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.708, allocations: 118.5 kB / 0.8373 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.7097, allocations: 251 kB / 0.8375 GB, free: 13.58 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.7112, allocations: 0.7954 MB / 0.8383 GB, free: 12.74 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.7114, allocations: 180.8 kB / 0.8385 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.7116, allocations: 79.89 kB / 0.8385 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.7132, allocations: 0.8297 MB / 0.8393 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.7132, allocations: 0 / 0.8393 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/0.7133, allocations: 28 kB / 0.8394 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.7133, allocations: 16 kB / 0.8394 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.7147, allocations: 0.648 MB / 0.84 GB, free: 10.93 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.7192, allocations: 3.237 MB / 0.8432 GB, free: 7.395 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.7206, allocations: 0.5521 MB / 0.8437 GB, free: 6.832 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.7213, allocations: 327.9 kB / 0.844 GB, free: 6.508 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008094/0.7221, allocations: 0.9068 MB / 0.8449 GB, free: 5.398 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.7221, allocations: 39.12 kB / 0.845 GB, free: 5.352 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 4.078e-06/0.7221, allocations: 4 kB / 0.845 GB, free: 5.348 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.004989/0.7271, allocations: 1.675 MB / 0.8466 GB, free: 3.602 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.7272, allocations: 63.95 kB / 0.8467 GB, free: 3.527 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.7282, allocations: 0.6652 MB / 0.8473 GB, free: 2.852 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002289/0.7284, allocations: 33.7 kB / 0.8473 GB, free: 2.812 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/0.7288, allocations: 440.8 kB / 0.8478 GB, free: 2.379 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.729, allocations: 214.2 kB / 0.848 GB, free: 2.168 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.7292, allocations: 106.2 kB / 0.8481 GB, free: 2.059 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7294, allocations: 334 kB / 0.8484 GB, free: 1.727 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007427/0.7301, allocations: 253 kB / 0.8486 GB, free: 1.477 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/0.7308, allocations: 260.9 kB / 0.8489 GB, free: 1.223 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.7322, allocations: 0.5233 MB / 0.8494 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.7323, allocations: 3.938 kB / 0.8494 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003178/0.7354, allocations: 1.012 MB / 0.8504 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.7354, allocations: 6.188 kB / 0.8504 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.7355, allocations: 4 kB / 0.8504 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007973/0.7363, allocations: 234.3 kB / 0.8506 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.737, allocations: 147.8 kB / 0.8508 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006758/0.7437, allocations: 5.09 MB / 0.8557 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.7445, allocations: 71.67 kB / 0.8558 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.7446, allocations: 35.98 kB / 0.8558 GB, free: 9.652 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005664/0.7451, allocations: 209.7 kB / 0.856 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.7453, allocations: 91.39 kB / 0.8561 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/0.7492, allocations: 1.419 MB / 0.8575 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.7492, allocations: 11.88 kB / 0.8575 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.7492, allocations: 4 kB / 0.8575 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.7492, allocations: 7.984 kB / 0.8575 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004953/0.7542, allocations: 2.078 MB / 0.8596 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7542, allocations: 4 kB / 0.8596 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.755, allocations: 144 kB / 0.8597 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008316/0.7559, allocations: 238.2 kB / 0.8599 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.756, allocations: 19.98 kB / 0.8599 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.287/1.043, allocations: 5.101 MB / 0.8649 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.043, allocations: 1.812 kB / 0.8649 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/1.046, allocations: 1.421 MB / 0.8663 GB, free: 233.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/1.047, allocations: 220 kB / 0.8665 GB, free: 233.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/1.047, allocations: 12.66 kB / 0.8665 GB, free: 233.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/1.047, allocations: 36.66 kB / 0.8666 GB, free: 233.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.047, allocations: 52.81 kB / 0.8666 GB, free: 233.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/1.047, allocations: 37.75 kB / 0.8667 GB, free: 233.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007086/1.048, allocations: 488.9 kB / 0.8671 GB, free: 233.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/1.048, allocations: 2.844 kB / 0.8671 GB, free: 233.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009175/1.049, allocations: 367.1 kB / 0.8675 GB, free: 233.7 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004034/1.053, allocations: 2.348 MB / 0.8698 GB, free: 232.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002279/1.055, allocations: 1.037 MB / 0.8708 GB, free: 232.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.055, allocations: 0 / 0.8708 GB, free: 232.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/1.057, allocations: 0.7883 MB / 0.8715 GB, free: 231.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009631/1.058, allocations: 202.4 kB / 0.8717 GB, free: 231.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/1.071, allocations: 7.083 MB / 0.8787 GB, free: 228.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/1.072, allocations: 0.9967 MB / 0.8796 GB, free: 227.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001117/1.073, allocations: 445.3 kB / 0.8801 GB, free: 227.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005052/1.073, allocations: 412.5 kB / 0.8804 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/1.073, allocations: 0 / 0.8804 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07169/1.145, allocations: 25.13 MB / 0.905 GB, free: 216.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.11, allocations: 26.53 kB / 0.905 GB, free: 216.2 MB / 0.6856 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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: 16.47457618266344]