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.001702/0.001702, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002121/0.002121, allocations: 217 kB / 23.04 MB, free: 5.074 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.8141/0.8141, allocations: 100.3 MB / 413.5 MB, free: 3.707 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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.002472/0.002472, allocations: 90.8 kB / 0.564 GB, free: 35.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1276, allocations: 74.45 MB / 0.6367 GB, free: 7.684 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.6452/0.7728, allocations: 215.7 MB / 0.8474 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0226/0.7954, allocations: 17.61 MB / 0.8646 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.7969, allocations: 73.75 kB / 0.8647 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.7988, allocations: 0.6165 MB / 0.8653 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005238/0.804, allocations: 1.807 MB / 0.8671 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005076/0.8091, allocations: 1.706 MB / 0.8687 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003078/0.8122, allocations: 1.725 MB / 0.8704 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005139/0.8127, allocations: 194.2 kB / 0.8706 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.8157, allocations: 1.262 MB / 0.8718 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.817, allocations: 0.641 MB / 0.8725 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.8173, allocations: 97.28 kB / 0.8725 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008705/0.826, allocations: 3.554 MB / 0.876 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005424/0.8265, allocations: 258.8 kB / 0.8763 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.8276, allocations: 0.6137 MB / 0.8769 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007471/0.8351, allocations: 2.402 MB / 0.8792 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.8351, allocations: 0 / 0.8792 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8351, allocations: 0 / 0.8792 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.339e-05/0.8351, allocations: 0 / 0.8792 GB, free: 9.91 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.004662/0.8398, allocations: 1.83 MB / 0.881 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.095e-05/0.8399, allocations: 16.02 kB / 0.881 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001391/0.84, allocations: 22 kB / 0.881 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.8402, allocations: 139.6 kB / 0.8812 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.8423, allocations: 298.8 kB / 0.8814 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.8442, allocations: 0.8459 MB / 0.8823 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/0.8446, allocations: 279.2 kB / 0.8825 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.8448, allocations: 88 kB / 0.8826 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.8469, allocations: 1.013 MB / 0.8836 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.847, allocations: 0 / 0.8836 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.8471, allocations: 40 kB / 0.8836 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.8471, allocations: 20 kB / 0.8837 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.8489, allocations: 0.7963 MB / 0.8844 GB, free: 4.391 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.006186/0.8551, allocations: 3.837 MB / 0.8882 GB, free: 276 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.8574, allocations: 0.8199 MB / 0.889 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.8582, allocations: 399.3 kB / 0.8894 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000383/0.8586, allocations: 116.5 kB / 0.8895 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.8586, allocations: 39.22 kB / 0.8895 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 2.424e-06/0.8586, allocations: 0 / 0.8895 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005559/0.8642, allocations: 1.701 MB / 0.8912 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.8642, allocations: 64.06 kB / 0.8912 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.8654, allocations: 0.7956 MB / 0.892 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.666e-05/0.8655, allocations: 37.7 kB / 0.8921 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.8659, allocations: 0.5284 MB / 0.8926 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.8662, allocations: 289.5 kB / 0.8929 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.8665, allocations: 150.6 kB / 0.893 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.8667, allocations: 341.9 kB / 0.8933 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007787/0.8675, allocations: 317.8 kB / 0.8936 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008652/0.8684, allocations: 391 kB / 0.894 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.8701, allocations: 0.6978 MB / 0.8947 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8701, allocations: 0 / 0.8947 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003393/0.8735, allocations: 1.241 MB / 0.8959 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.8735, allocations: 4 kB / 0.8959 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.8735, allocations: 4 kB / 0.8959 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008768/0.8744, allocations: 246.4 kB / 0.8961 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009857/0.8753, allocations: 207.7 kB / 0.8963 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006642/0.882, allocations: 4.926 MB / 0.9011 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.8828, allocations: 91.47 kB / 0.9012 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.8829, allocations: 47.98 kB / 0.9013 GB, free: 2.383 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.0004723/0.8834, allocations: 225.7 kB / 0.9015 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.8836, allocations: 108.6 kB / 0.9016 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/0.888, allocations: 1.819 MB / 0.9034 GB, free: 216 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.888, allocations: 8 kB / 0.9034 GB, free: 208 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.888, allocations: 3.938 kB / 0.9034 GB, free: 204 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.888, allocations: 7.922 kB / 0.9034 GB, free: 196 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005497/0.8935, allocations: 2.391 MB / 0.9057 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/0.8935, allocations: 4 kB / 0.9057 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.8945, allocations: 191.8 kB / 0.9059 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.8955, allocations: 266.7 kB / 0.9062 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.011e-05/0.8956, allocations: 31.98 kB / 0.9062 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006913/0.9025, allocations: 4.928 MB / 0.911 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.9026, allocations: 4.031 kB / 0.911 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004418/0.907, allocations: 1.724 MB / 0.9127 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.9075, allocations: 183 kB / 0.9129 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.9077, allocations: 16 kB / 0.9129 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.9082, allocations: 39.97 kB / 0.9129 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.9084, allocations: 80.45 kB / 0.913 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.9086, allocations: 51.98 kB / 0.9131 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000837/0.9094, allocations: 0.5605 MB / 0.9136 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.9094, allocations: 0 / 0.9136 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001498/0.9109, allocations: 482.8 kB / 0.9141 GB, free: 4.777 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.005596/0.9165, allocations: 2.732 MB / 0.9167 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003054/0.9196, allocations: 1.212 MB / 0.9179 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.9196, allocations: 0 / 0.9179 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.9215, allocations: 0.8747 MB / 0.9188 GB, free: 15.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.9229, allocations: 283.2 kB / 0.919 GB, free: 15.56 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/0.9407, allocations: 8.622 MB / 0.9275 GB, free: 6.746 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.9417, allocations: 1.08 MB / 0.9285 GB, free: 5.637 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001553/0.9432, allocations: 0.6306 MB / 0.9291 GB, free: 5.004 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008743/0.9441, allocations: 0.5187 MB / 0.9296 GB, free: 4.488 MB / 0.67 GB Notification: Performance of SimCode: time 1.373e-06/0.9441, allocations: 0 / 0.9296 GB, free: 4.488 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07849/1.023, allocations: 31.5 MB / 0.9604 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/15.13, allocations: 3.938 kB / 0.9604 GB, free: 5.242 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: 19.049848605063744]