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.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.001797/0.001797, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002341/0.002341, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.98 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.8291/0.8291, allocations: 100.3 MB / 412.7 MB, free: 3.676 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.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: 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.002628/0.002628, allocations: 90.58 kB / 0.5633 GB, free: 35.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1363, allocations: 74.46 MB / 0.636 GB, free: 7.676 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5954/0.7317, allocations: 215.7 MB / 0.8467 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02823/0.7599, allocations: 17.61 MB / 0.8639 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.7618, allocations: 74.28 kB / 0.8639 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.7643, allocations: 0.6208 MB / 0.8645 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.7706, allocations: 1.803 MB / 0.8663 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005695/0.7763, allocations: 1.705 MB / 0.868 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003015/0.7793, allocations: 1.729 MB / 0.8696 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.7799, allocations: 192 kB / 0.8698 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.7829, allocations: 1.254 MB / 0.8711 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.7841, allocations: 0.645 MB / 0.8717 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003248/0.7845, allocations: 95.72 kB / 0.8718 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008127/0.7926, allocations: 3.56 MB / 0.8752 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003928/0.793, allocations: 254.9 kB / 0.8755 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.7941, allocations: 0.6137 MB / 0.8761 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00568/0.7998, allocations: 2.402 MB / 0.8784 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.7998, allocations: 0 / 0.8784 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.958e-06/0.7998, allocations: 0 / 0.8784 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001502/0.8, allocations: 0 / 0.8784 GB, free: 10.03 MB / 0.6231 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.003944/0.8039, allocations: 1.83 MB / 0.8802 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.804, allocations: 8.031 kB / 0.8802 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.8042, allocations: 147.6 kB / 0.8804 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.8061, allocations: 290.8 kB / 0.8806 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.8083, allocations: 0.8458 MB / 0.8815 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.8086, allocations: 281.8 kB / 0.8817 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.8088, allocations: 88 kB / 0.8818 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.811, allocations: 1.016 MB / 0.8828 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.811, allocations: 3.938 kB / 0.8828 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.8111, allocations: 40 kB / 0.8829 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.8111, allocations: 20 kB / 0.8829 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.8132, allocations: 0.7963 MB / 0.8837 GB, free: 4.527 MB / 0.6231 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.006779/0.82, allocations: 3.833 MB / 0.8874 GB, free: 424 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.8222, allocations: 0.8221 MB / 0.8882 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009498/0.8232, allocations: 403.3 kB / 0.8886 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.8235, allocations: 104.5 kB / 0.8887 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.8236, allocations: 43.22 kB / 0.8887 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 2.665e-06/0.8236, allocations: 0 / 0.8887 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005853/0.8294, allocations: 1.705 MB / 0.8904 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.8295, allocations: 64 kB / 0.8905 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.8307, allocations: 0.7995 MB / 0.8912 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.8309, allocations: 33.7 kB / 0.8913 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/0.8314, allocations: 0.5206 MB / 0.8918 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.8318, allocations: 293.5 kB / 0.8921 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.832, allocations: 150.6 kB / 0.8922 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002397/0.8323, allocations: 341.9 kB / 0.8925 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009054/0.8332, allocations: 313.8 kB / 0.8928 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/0.8341, allocations: 391.1 kB / 0.8932 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.8357, allocations: 0.694 MB / 0.8939 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8357, allocations: 4 kB / 0.8939 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003418/0.8391, allocations: 1.237 MB / 0.8951 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.8392, allocations: 8 kB / 0.8951 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.8392, allocations: 0 / 0.8951 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008958/0.8401, allocations: 250.4 kB / 0.8953 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.8411, allocations: 203.7 kB / 0.8955 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/0.8479, allocations: 4.931 MB / 0.9003 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/0.8486, allocations: 91.41 kB / 0.9004 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.8488, allocations: 55.98 kB / 0.9005 GB, free: 2.523 MB / 0.6387 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.00048/0.8492, allocations: 221.7 kB / 0.9007 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.8496, allocations: 111.3 kB / 0.9008 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/0.8541, allocations: 1.82 MB / 0.9026 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/0.8541, allocations: 8 kB / 0.9026 GB, free: 348 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/0.8542, allocations: 4 kB / 0.9026 GB, free: 344 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.8542, allocations: 7.922 kB / 0.9026 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/0.8596, allocations: 2.388 MB / 0.9049 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8596, allocations: 4.031 kB / 0.9049 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009866/0.8606, allocations: 191.8 kB / 0.9051 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008449/0.8614, allocations: 262.2 kB / 0.9054 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-05/0.8615, allocations: 31.98 kB / 0.9054 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006319/0.8678, allocations: 4.925 MB / 0.9102 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.8678, allocations: 8.016 kB / 0.9102 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004226/0.872, allocations: 1.72 MB / 0.9119 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/0.8726, allocations: 187 kB / 0.9121 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.8728, allocations: 20 kB / 0.9121 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.8734, allocations: 35.97 kB / 0.9121 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.8736, allocations: 76.52 kB / 0.9122 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.851e-05/0.8737, allocations: 51.92 kB / 0.9122 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009624/0.8746, allocations: 0.5644 MB / 0.9128 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8746, allocations: 0 / 0.9128 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001651/0.8763, allocations: 482.8 kB / 0.9133 GB, free: 4.922 MB / 0.6544 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.006085/0.8824, allocations: 2.725 MB / 0.9159 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.8855, allocations: 1.212 MB / 0.9171 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8855, allocations: 8.062 kB / 0.9171 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/0.8875, allocations: 0.8707 MB / 0.918 GB, free: 15.97 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.8891, allocations: 282.2 kB / 0.9182 GB, free: 15.71 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/0.9066, allocations: 8.633 MB / 0.9267 GB, free: 6.887 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/0.9075, allocations: 1.076 MB / 0.9277 GB, free: 5.781 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001397/0.9089, allocations: 0.6354 MB / 0.9283 GB, free: 5.145 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008124/0.9097, allocations: 0.5187 MB / 0.9288 GB, free: 4.629 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/0.9097, allocations: 0 / 0.9288 GB, free: 4.629 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09117/1.001, allocations: 31.47 MB / 0.9596 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.97, allocations: 3.938 kB / 0.9596 GB, free: 5.402 MB / 0.7012 GB " [Timeout remaining time 645] (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/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: 18.882814013166353]