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.001328/0.001328, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001593/0.001593, allocations: 217 kB / 23.04 MB, free: 5.078 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.7723/0.7723, allocations: 100.3 MB / 413.5 MB, free: 3.672 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.002514/0.002514, allocations: 80.89 kB / 0.564 GB, free: 35.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.127, allocations: 74.47 MB / 0.6367 GB, free: 7.664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.6138/0.7408, allocations: 236.6 MB / 0.8678 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02722/0.768, allocations: 22.54 MB / 0.8899 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.7699, allocations: 91.19 kB / 0.8899 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.7721, allocations: 0.7917 MB / 0.8907 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.7779, allocations: 2.109 MB / 0.8928 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005853/0.7838, allocations: 2.217 MB / 0.8949 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003128/0.7869, allocations: 2.252 MB / 0.8971 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004801/0.7874, allocations: 261.6 kB / 0.8974 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.7903, allocations: 1.468 MB / 0.8988 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.7914, allocations: 0.8552 MB / 0.8997 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.7916, allocations: 136 kB / 0.8998 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008766/0.8003, allocations: 4.235 MB / 0.9039 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003614/0.8007, allocations: 346.5 kB / 0.9043 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009113/0.8016, allocations: 0.8199 MB / 0.9051 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006826/0.8084, allocations: 3.056 MB / 0.908 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8085, allocations: 0 / 0.908 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8085, allocations: 0 / 0.908 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.8085, allocations: 0 / 0.908 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.005135/0.8136, allocations: 2.329 MB / 0.9103 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.8137, allocations: 12.03 kB / 0.9103 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.19e-05/0.8137, allocations: 34.39 kB / 0.9104 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002196/0.8139, allocations: 187 kB / 0.9105 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.817, allocations: 434.4 kB / 0.911 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.8191, allocations: 1.024 MB / 0.912 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004957/0.8196, allocations: 0.4983 MB / 0.9124 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.8198, allocations: 131.9 kB / 0.9126 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.8228, allocations: 1.454 MB / 0.914 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.8228, allocations: 0 / 0.914 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.823, allocations: 52 kB / 0.914 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.823, allocations: 28 kB / 0.9141 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.8259, allocations: 1.192 MB / 0.9152 GB, free: 4.742 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.007535/0.8334, allocations: 5.163 MB / 0.9203 GB, free: 15.21 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.8365, allocations: 1.251 MB / 0.9215 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.8382, allocations: 0.6777 MB / 0.9222 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004792/0.8386, allocations: 152.8 kB / 0.9223 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.8387, allocations: 43.56 kB / 0.9223 GB, free: 13.06 MB / 0.67 GB Notification: Performance of pre-optimization done (n=113): time 3.116e-06/0.8387, allocations: 0 / 0.9223 GB, free: 13.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=113): time 0.009088/0.8478, allocations: 2.751 MB / 0.925 GB, free: 10.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.8478, allocations: 60.41 kB / 0.9251 GB, free: 10.22 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.8491, allocations: 0.9096 MB / 0.926 GB, free: 9.297 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.8492, allocations: 45.7 kB / 0.926 GB, free: 9.246 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.8498, allocations: 0.6428 MB / 0.9266 GB, free: 8.598 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/0.8502, allocations: 404.5 kB / 0.927 GB, free: 8.199 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.8506, allocations: 210.9 kB / 0.9272 GB, free: 7.988 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.8508, allocations: 341.9 kB / 0.9276 GB, free: 7.648 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.8521, allocations: 0.4905 MB / 0.928 GB, free: 7.156 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.8535, allocations: 0.584 MB / 0.9286 GB, free: 6.559 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/0.8562, allocations: 1.051 MB / 0.9296 GB, free: 5.492 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8562, allocations: 4 kB / 0.9296 GB, free: 5.488 MB / 0.67 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005809/0.862, allocations: 1.924 MB / 0.9315 GB, free: 3.547 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.862, allocations: 7.938 kB / 0.9315 GB, free: 3.539 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.862, allocations: 4 kB / 0.9315 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.8635, allocations: 407.1 kB / 0.9319 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.865, allocations: 305.8 kB / 0.9322 GB, free: 2.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.8755, allocations: 7.022 MB / 0.9391 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.8765, allocations: 127.3 kB / 0.9392 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.8767, allocations: 71.91 kB / 0.9393 GB, free: 11.16 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.0006701/0.8774, allocations: 269 kB / 0.9395 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.8777, allocations: 135.1 kB / 0.9396 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007286/0.885, allocations: 2.71 MB / 0.9423 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.885, allocations: 12 kB / 0.9423 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/0.8851, allocations: 4 kB / 0.9423 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.8851, allocations: 7.922 kB / 0.9423 GB, free: 8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008389/0.8935, allocations: 3.493 MB / 0.9457 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.8935, allocations: 4 kB / 0.9457 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.8951, allocations: 299.7 kB / 0.946 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.8964, allocations: 422.9 kB / 0.9464 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.8966, allocations: 47.97 kB / 0.9465 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.9069, allocations: 7.021 MB / 0.9533 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9069, allocations: 320 / 0.9533 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007027/0.9139, allocations: 2.6 MB / 0.9559 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/0.9146, allocations: 242.6 kB / 0.9561 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.9148, allocations: 32 kB / 0.9561 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009397/0.9157, allocations: 71.88 kB / 0.9562 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.916, allocations: 100.8 kB / 0.9563 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/0.9161, allocations: 71.95 kB / 0.9563 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009789/0.9171, allocations: 0.6273 MB / 0.957 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.9171, allocations: 0 / 0.957 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00183/0.919, allocations: 0.6157 MB / 0.9576 GB, free: 7.785 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.008528/0.9275, allocations: 3.731 MB / 0.9612 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004928/0.9324, allocations: 1.827 MB / 0.963 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.9324, allocations: 0 / 0.963 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003105/0.9355, allocations: 1.34 MB / 0.9643 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.9373, allocations: 316.1 kB / 0.9646 GB, free: 452 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/0.9625, allocations: 11.34 MB / 0.9757 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/0.9634, allocations: 1.206 MB / 0.9768 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001857/0.9653, allocations: 0.8465 MB / 0.9777 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.9664, allocations: 0.6749 MB / 0.9783 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of SimCode: time 9.02e-07/0.9664, allocations: 0 / 0.9783 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09632/1.063, allocations: 39.86 MB / 1.017 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.69, allocations: 6.719 kB / 1.017 GB, free: 10.54 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.607889823033474]