Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.001516/0.001516, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001852/0.001852, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 8.031 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.809/0.809, allocations: 100.3 MB / 412.7 MB, free: 3.734 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_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.002479/0.002479, allocations: 91.09 kB / 0.5633 GB, free: 35.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1335, allocations: 74.46 MB / 0.636 GB, free: 7.684 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5988/0.7322, allocations: 236.6 MB / 0.8671 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03205/0.7643, allocations: 22.56 MB / 0.8891 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.766, allocations: 87.19 kB / 0.8892 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.7684, allocations: 0.7988 MB / 0.89 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006492/0.7749, allocations: 2.111 MB / 0.892 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006939/0.7818, allocations: 2.202 MB / 0.8942 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003719/0.7856, allocations: 2.252 MB / 0.8964 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000554/0.7861, allocations: 265.6 kB / 0.8966 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.7895, allocations: 1.479 MB / 0.8981 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.791, allocations: 0.8475 MB / 0.8989 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003667/0.7914, allocations: 132 kB / 0.899 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009517/0.8009, allocations: 4.225 MB / 0.9032 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005066/0.8014, allocations: 346.5 kB / 0.9035 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.8028, allocations: 0.8315 MB / 0.9043 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007652/0.8105, allocations: 3.052 MB / 0.9073 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8105, allocations: 0 / 0.9073 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8105, allocations: 0 / 0.9073 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.724e-05/0.8106, allocations: 4 kB / 0.9073 GB, free: 12.35 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.005795/0.8164, allocations: 2.321 MB / 0.9095 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.8164, allocations: 12.03 kB / 0.9096 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002561/0.8167, allocations: 185.9 kB / 0.9097 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.8198, allocations: 430.4 kB / 0.9101 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.8223, allocations: 1.035 MB / 0.9112 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006264/0.8229, allocations: 0.4944 MB / 0.9116 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.8232, allocations: 132 kB / 0.9118 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003551/0.8267, allocations: 1.454 MB / 0.9132 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.8268, allocations: 4 kB / 0.9132 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.8269, allocations: 48 kB / 0.9132 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.8269, allocations: 36 kB / 0.9133 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.83, allocations: 1.188 MB / 0.9144 GB, free: 4.777 MB / 0.6544 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.008736/0.8387, allocations: 5.156 MB / 0.9195 GB, free: 15.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.8419, allocations: 1.255 MB / 0.9207 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.8436, allocations: 0.6622 MB / 0.9213 GB, free: 13.31 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.8442, allocations: 168.8 kB / 0.9215 GB, free: 13.15 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.356e-05/0.8443, allocations: 47.5 kB / 0.9215 GB, free: 13.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=113): time 2.815e-06/0.8443, allocations: 0 / 0.9215 GB, free: 13.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=113): time 0.009123/0.8534, allocations: 2.743 MB / 0.9242 GB, free: 10.33 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.8534, allocations: 64.41 kB / 0.9243 GB, free: 10.25 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.8547, allocations: 0.9096 MB / 0.9252 GB, free: 9.332 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.855e-05/0.8548, allocations: 45.7 kB / 0.9252 GB, free: 9.281 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000503/0.8553, allocations: 0.6389 MB / 0.9258 GB, free: 8.637 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.8556, allocations: 404.5 kB / 0.9262 GB, free: 8.238 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.856, allocations: 218.8 kB / 0.9264 GB, free: 8.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002494/0.8562, allocations: 341.9 kB / 0.9268 GB, free: 7.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.8574, allocations: 0.4905 MB / 0.9272 GB, free: 7.188 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.8587, allocations: 0.584 MB / 0.9278 GB, free: 6.59 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.8613, allocations: 1.047 MB / 0.9288 GB, free: 5.527 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8613, allocations: 0 / 0.9288 GB, free: 5.527 MB / 0.67 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005519/0.8668, allocations: 1.932 MB / 0.9307 GB, free: 3.578 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.8668, allocations: 4 kB / 0.9307 GB, free: 3.574 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8668, allocations: 0 / 0.9307 GB, free: 3.574 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.8682, allocations: 410.5 kB / 0.9311 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.8697, allocations: 303.6 kB / 0.9314 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.8802, allocations: 7.02 MB / 0.9383 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.8813, allocations: 127.3 kB / 0.9384 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.8814, allocations: 75.97 kB / 0.9385 GB, free: 11.2 MB / 0.6856 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007/0.8821, allocations: 267.8 kB / 0.9387 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/0.8824, allocations: 135.1 kB / 0.9388 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007091/0.8895, allocations: 2.708 MB / 0.9415 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.8895, allocations: 12 kB / 0.9415 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.8895, allocations: 8 kB / 0.9415 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.8896, allocations: 11.91 kB / 0.9415 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008192/0.8977, allocations: 3.497 MB / 0.9449 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.8977, allocations: 384 / 0.9449 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.8994, allocations: 283.7 kB / 0.9452 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.9007, allocations: 430.9 kB / 0.9456 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.9009, allocations: 51.91 kB / 0.9457 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.911, allocations: 7.017 MB / 0.9525 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.911, allocations: 4.031 kB / 0.9525 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00655/0.9176, allocations: 2.6 MB / 0.9551 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.9182, allocations: 242.6 kB / 0.9553 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.9184, allocations: 28 kB / 0.9553 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/0.9193, allocations: 67.88 kB / 0.9554 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.9195, allocations: 100.8 kB / 0.9555 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.9196, allocations: 79.91 kB / 0.9555 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008562/0.9205, allocations: 0.6273 MB / 0.9562 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.9205, allocations: 0 / 0.9562 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001745/0.9222, allocations: 0.6079 MB / 0.9568 GB, free: 7.836 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.00789/0.9301, allocations: 3.729 MB / 0.9604 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00444/0.9345, allocations: 1.842 MB / 0.9622 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.9345, allocations: 4.125 kB / 0.9622 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003022/0.9376, allocations: 1.328 MB / 0.9635 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.939, allocations: 315.8 kB / 0.9638 GB, free: 496 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/0.9625, allocations: 11.34 MB / 0.9749 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.9635, allocations: 1.202 MB / 0.976 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001844/0.9653, allocations: 0.8412 MB / 0.9769 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.9665, allocations: 0.6788 MB / 0.9775 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.9665, allocations: 0 / 0.9775 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.067, allocations: 39.85 MB / 1.016 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.89, allocations: 4.062 kB / 1.016 GB, free: 10.6 MB / 0.7637 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.583114980952814]