Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.001323/0.001323, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001471/0.001471, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.542/1.542, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.828/0.828, allocations: 94.59 MB / 397.3 MB, free: 308 kB / 302.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.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002708/0.002708, allocations: 85.81 kB / 0.5416 GB, free: 42.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1598, allocations: 71.85 MB / 0.6118 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.648/0.8078, allocations: 215.1 MB / 0.8219 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.8279, allocations: 17.5 MB / 0.839 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.8297, allocations: 49.94 kB / 0.839 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.8314, allocations: 0.6249 MB / 0.8396 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.8369, allocations: 1.761 MB / 0.8413 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005663/0.8425, allocations: 1.687 MB / 0.843 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003565/0.8461, allocations: 1.728 MB / 0.8447 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.8465, allocations: 187.8 kB / 0.8449 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/0.8499, allocations: 1.217 MB / 0.846 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009167/0.8508, allocations: 0.6451 MB / 0.8467 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.851, allocations: 96.59 kB / 0.8468 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008073/0.859, allocations: 3.456 MB / 0.8501 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.8593, allocations: 248.5 kB / 0.8504 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008/0.8601, allocations: 0.6183 MB / 0.851 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005142/0.8653, allocations: 2.397 MB / 0.8533 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8653, allocations: 0 / 0.8533 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8653, allocations: 0 / 0.8533 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.8653, allocations: 0 / 0.8533 GB, free: 1.441 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003798/0.8691, allocations: 1.903 MB / 0.8552 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.8691, allocations: 12.03 kB / 0.8552 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.8693, allocations: 135.6 kB / 0.8553 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.8713, allocations: 306.8 kB / 0.8556 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.8733, allocations: 0.9258 MB / 0.8565 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.8735, allocations: 192.7 kB / 0.8567 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.8737, allocations: 95.95 kB / 0.8568 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.8757, allocations: 1.02 MB / 0.8578 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.8757, allocations: 4 kB / 0.8578 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.8758, allocations: 36 kB / 0.8578 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.8758, allocations: 20 kB / 0.8579 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.8776, allocations: 0.7885 MB / 0.8586 GB, free: 12.02 MB / 0.6075 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.005687/0.8833, allocations: 4.125 MB / 0.8627 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.8854, allocations: 0.812 MB / 0.8634 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.8863, allocations: 403.3 kB / 0.8638 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.8874, allocations: 1.305 MB / 0.8651 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.8875, allocations: 35.22 kB / 0.8651 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.364e-06/0.8875, allocations: 0 / 0.8651 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005502/0.893, allocations: 1.935 MB / 0.867 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.893, allocations: 60.06 kB / 0.8671 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000955/0.894, allocations: 0.8072 MB / 0.8679 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.894, allocations: 41.7 kB / 0.8679 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005/0.8945, allocations: 0.5186 MB / 0.8684 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.8948, allocations: 290.7 kB / 0.8687 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.895, allocations: 146.6 kB / 0.8688 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.8952, allocations: 341.9 kB / 0.8692 GB, free: 496 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007671/0.8959, allocations: 313.8 kB / 0.8695 GB, free: 180 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/0.8968, allocations: 395.1 kB / 0.8698 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.8983, allocations: 0.6901 MB / 0.8705 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8983, allocations: 0 / 0.8705 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003215/0.9015, allocations: 1.245 MB / 0.8717 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9016, allocations: 4 kB / 0.8717 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.9016, allocations: 4.062 kB / 0.8717 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007852/0.9024, allocations: 250.3 kB / 0.872 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.9034, allocations: 203.7 kB / 0.8722 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006601/0.91, allocations: 5.232 MB / 0.8773 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/0.9107, allocations: 87.53 kB / 0.8774 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.9108, allocations: 51.97 kB / 0.8774 GB, free: 7.562 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006252/0.9114, allocations: 225.7 kB / 0.8776 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.9116, allocations: 115.2 kB / 0.8777 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.9159, allocations: 1.82 MB / 0.8795 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.9159, allocations: 11.98 kB / 0.8795 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9159, allocations: 4 kB / 0.8795 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.9159, allocations: 7.922 kB / 0.8795 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005424/0.9213, allocations: 2.481 MB / 0.882 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.9213, allocations: 4 kB / 0.882 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009204/0.9222, allocations: 195.9 kB / 0.8821 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008441/0.9231, allocations: 254.8 kB / 0.8824 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.196e-05/0.9231, allocations: 31.98 kB / 0.8824 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006614/0.9298, allocations: 5.238 MB / 0.8875 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9298, allocations: 4.062 kB / 0.8875 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004199/0.934, allocations: 1.72 MB / 0.8892 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.9345, allocations: 264.1 kB / 0.8895 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.9346, allocations: 24 kB / 0.8895 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/0.9353, allocations: 43.95 kB / 0.8895 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.9354, allocations: 64.56 kB / 0.8896 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.9355, allocations: 55.92 kB / 0.8897 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007547/0.9362, allocations: 0.5527 MB / 0.8902 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.9362, allocations: 4 kB / 0.8902 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001557/0.9378, allocations: 478.9 kB / 0.8907 GB, free: 9.406 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (76): * Single equations (assignments): 73 * 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 {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005346/0.9431, allocations: 2.742 MB / 0.8933 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.946, allocations: 1.205 MB / 0.8945 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.946, allocations: 3.938 kB / 0.8945 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.9478, allocations: 0.8732 MB / 0.8954 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.9492, allocations: 278.3 kB / 0.8956 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/0.9652, allocations: 8.64 MB / 0.9041 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/0.9661, allocations: 1.072 MB / 0.9051 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001388/0.9675, allocations: 0.6315 MB / 0.9057 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008142/0.9683, allocations: 0.5187 MB / 0.9062 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.9683, allocations: 0 / 0.9062 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08621/1.055, allocations: 30.84 MB / 0.9364 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.97, allocations: 10.8 kB / 0.9364 GB, free: 10.57 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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: 17.862582378089428]