Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.001588/0.001588, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00204/0.00204, allocations: 217.8 kB / 23.03 MB, free: 4.945 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.8375/0.8375, allocations: 100.3 MB / 413.5 MB, free: 3.375 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.CrossFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.002564/0.002564, allocations: 86.36 kB / 0.564 GB, free: 35.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1367, allocations: 74.46 MB / 0.6367 GB, free: 7.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5584/0.6951, allocations: 187.1 MB / 0.8194 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02141/0.7165, allocations: 15.81 MB / 0.8348 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.7186, allocations: 78.78 kB / 0.8349 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.7209, allocations: 0.5421 MB / 0.8354 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00634/0.7272, allocations: 1.794 MB / 0.8372 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005526/0.7327, allocations: 1.677 MB / 0.8388 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003025/0.7358, allocations: 1.728 MB / 0.8405 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006535/0.7364, allocations: 191.9 kB / 0.8407 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/0.7398, allocations: 1.251 MB / 0.8419 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.741, allocations: 0.6488 MB / 0.8425 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.7413, allocations: 92.81 kB / 0.8426 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007/0.7483, allocations: 3.369 MB / 0.8459 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004507/0.7487, allocations: 252.2 kB / 0.8462 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000925/0.7497, allocations: 0.4922 MB / 0.8466 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005574/0.7552, allocations: 2.382 MB / 0.849 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7553, allocations: 0 / 0.849 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7553, allocations: 0 / 0.849 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.398e-05/0.7553, allocations: 0 / 0.849 GB, free: 13.43 MB / 0.6075 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.004238/0.7595, allocations: 1.839 MB / 0.8508 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.7596, allocations: 11 kB / 0.8508 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.71e-05/0.7596, allocations: 23.06 kB / 0.8508 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001876/0.7598, allocations: 141.2 kB / 0.8509 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.762, allocations: 302.7 kB / 0.8512 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.7641, allocations: 0.8405 MB / 0.852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.7645, allocations: 279.9 kB / 0.8523 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.7647, allocations: 91.19 kB / 0.8524 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.7669, allocations: 1.01 MB / 0.8534 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.767, allocations: 2.656 kB / 0.8534 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.7671, allocations: 40.22 kB / 0.8534 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.7671, allocations: 20.72 kB / 0.8534 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.769, allocations: 0.7833 MB / 0.8542 GB, free: 9.871 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.005596/0.7745, allocations: 2.755 MB / 0.8569 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.7767, allocations: 0.8098 MB / 0.8577 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009555/0.7777, allocations: 388 kB / 0.8581 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004363/0.7781, allocations: 106.1 kB / 0.8582 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.7782, allocations: 45.39 kB / 0.8582 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.296e-06/0.7782, allocations: 4 kB / 0.8582 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.0058/0.784, allocations: 1.7 MB / 0.8599 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.784, allocations: 57.78 kB / 0.8599 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.7856, allocations: 0.7984 MB / 0.8607 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.7857, allocations: 41.7 kB / 0.8607 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.7862, allocations: 0.5167 MB / 0.8613 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.7865, allocations: 289.5 kB / 0.8615 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/0.7869, allocations: 150.6 kB / 0.8617 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.787, allocations: 341.9 kB / 0.862 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007873/0.7878, allocations: 309.8 kB / 0.8623 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000863/0.7887, allocations: 389 kB / 0.8627 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.7903, allocations: 0.6862 MB / 0.8633 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.7903, allocations: 4 kB / 0.8633 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003575/0.7939, allocations: 1.233 MB / 0.8645 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.7939, allocations: 14.09 kB / 0.8646 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.7939, allocations: 0 / 0.8646 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009211/0.7948, allocations: 242.3 kB / 0.8648 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.7958, allocations: 199.8 kB / 0.865 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006806/0.8027, allocations: 4.897 MB / 0.8698 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000887/0.8035, allocations: 99.42 kB / 0.8699 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.8037, allocations: 56.8 kB / 0.8699 GB, free: 11.8 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.0005528/0.8043, allocations: 225.6 kB / 0.8701 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/0.8046, allocations: 111.3 kB / 0.8702 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.8094, allocations: 1.819 MB / 0.872 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.8094, allocations: 11.94 kB / 0.872 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.8094, allocations: 4 kB / 0.872 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.8094, allocations: 11.92 kB / 0.872 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005594/0.815, allocations: 2.288 MB / 0.8743 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.815, allocations: 4 kB / 0.8743 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.8161, allocations: 191.8 kB / 0.8745 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000836/0.8169, allocations: 254.3 kB / 0.8747 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.817, allocations: 40.34 kB / 0.8747 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006522/0.8235, allocations: 4.897 MB / 0.8795 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8235, allocations: 0 / 0.8795 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004459/0.828, allocations: 1.733 MB / 0.8812 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.8285, allocations: 186.9 kB / 0.8814 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.8287, allocations: 20 kB / 0.8814 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/0.8294, allocations: 35.97 kB / 0.8814 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.8296, allocations: 88.73 kB / 0.8815 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.8297, allocations: 43.98 kB / 0.8816 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008625/0.8305, allocations: 0.5566 MB / 0.8821 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8305, allocations: 0 / 0.8821 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001537/0.8321, allocations: 486.8 kB / 0.8826 GB, free: 14.31 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (78): * Single equations (assignments): 75 * 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.005796/0.8379, allocations: 2.734 MB / 0.8852 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003155/0.841, allocations: 1.211 MB / 0.8864 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.841, allocations: 0 / 0.8864 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.843, allocations: 0.8806 MB / 0.8873 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.8446, allocations: 272.4 kB / 0.8875 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.8633, allocations: 8.621 MB / 0.896 GB, free: 300 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/0.8639, allocations: 499.2 kB / 0.8964 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001638/0.8656, allocations: 0.6408 MB / 0.8971 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.8666, allocations: 0.5226 MB / 0.8976 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of SimCode: time 1.463e-06/0.8666, allocations: 0 / 0.8976 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/0.9741, allocations: 32.74 MB / 0.9295 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.35, allocations: 6.25 kB / 0.9296 GB, free: 14.23 MB / 0.6856 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.29428484698292]