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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008653/0.008653, allocations: 99.77 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 193.6 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8074/0.8074, allocations: 93.71 MB / 384.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 83.88 kB / 0.52 GB, free: 1.109 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3342, allocations: 68.26 MB / 0.5866 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.6065/0.9408, allocations: 235 MB / 0.8161 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02436/0.9652, allocations: 22.31 MB / 0.8379 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.9671, allocations: 61.97 kB / 0.8379 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.9695, allocations: 0.798 MB / 0.8387 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005804/0.9754, allocations: 2.047 MB / 0.8407 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006164/0.9815, allocations: 2.174 MB / 0.8428 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003285/0.9848, allocations: 2.241 MB / 0.845 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000855/0.9857, allocations: 422.9 kB / 0.8454 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.9887, allocations: 1.384 MB / 0.8468 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.99, allocations: 0.8367 MB / 0.8476 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002934/0.9904, allocations: 136 kB / 0.8477 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009262/0.9996, allocations: 4.088 MB / 0.8517 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006357/1, allocations: 341.5 kB / 0.852 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/1.002, allocations: 0.8259 MB / 0.8529 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00724/1.009, allocations: 3.039 MB / 0.8558 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.009, allocations: 0 / 0.8558 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/1.009, allocations: 0 / 0.8558 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.808e-05/1.009, allocations: 4 kB / 0.8558 GB, free: 14.52 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.005331/1.014, allocations: 2.391 MB / 0.8582 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.014, allocations: 14.56 kB / 0.8582 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/1.014, allocations: 185.9 kB / 0.8584 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/1.018, allocations: 430.4 kB / 0.8588 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/1.021, allocations: 1.144 MB / 0.8599 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/1.021, allocations: 352 kB / 0.8602 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/1.021, allocations: 132 kB / 0.8603 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/1.025, allocations: 1.445 MB / 0.8618 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/1.025, allocations: 0 / 0.8618 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/1.025, allocations: 48 kB / 0.8618 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/1.025, allocations: 32 kB / 0.8618 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/1.028, allocations: 1.192 MB / 0.863 GB, free: 7.066 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.008124/1.036, allocations: 5.469 MB / 0.8683 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/1.04, allocations: 1.306 MB / 0.8696 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/1.041, allocations: 0.7137 MB / 0.8703 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/1.043, allocations: 1.791 MB / 0.8721 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/1.043, allocations: 46.09 kB / 0.8721 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 2.975e-06/1.043, allocations: 0 / 0.8721 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.01003/1.053, allocations: 3.057 MB / 0.8751 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/1.053, allocations: 64.41 kB / 0.8751 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/1.054, allocations: 0.9173 MB / 0.876 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.055, allocations: 49.64 kB / 0.8761 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005383/1.055, allocations: 0.6351 MB / 0.8767 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004321/1.056, allocations: 404.7 kB / 0.8771 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004564/1.056, allocations: 210.9 kB / 0.8773 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.056, allocations: 345.9 kB / 0.8776 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/1.058, allocations: 0.4944 MB / 0.8781 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/1.059, allocations: 0.5905 MB / 0.8787 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002731/1.062, allocations: 1.049 MB / 0.8797 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.062, allocations: 0 / 0.8797 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005885/1.068, allocations: 1.923 MB / 0.8816 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.068, allocations: 8 kB / 0.8816 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.068, allocations: 3.984 kB / 0.8816 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/1.069, allocations: 421.6 kB / 0.882 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/1.071, allocations: 296.4 kB / 0.8823 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/1.083, allocations: 7.421 MB / 0.8895 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.084, allocations: 131.3 kB / 0.8897 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/1.084, allocations: 75.97 kB / 0.8897 GB, free: 10.29 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 (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.0007027/1.085, allocations: 264 kB / 0.89 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/1.085, allocations: 143.1 kB / 0.8901 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007488/1.093, allocations: 2.711 MB / 0.8928 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/1.093, allocations: 19.98 kB / 0.8928 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.093, allocations: 4 kB / 0.8928 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.093, allocations: 11.91 kB / 0.8928 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008891/1.102, allocations: 3.595 MB / 0.8963 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/1.102, allocations: 4 kB / 0.8963 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.103, allocations: 298.1 kB / 0.8966 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/1.105, allocations: 413.6 kB / 0.897 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/1.105, allocations: 51.91 kB / 0.897 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.116, allocations: 7.431 MB / 0.9043 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.116, allocations: 0 / 0.9043 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007304/1.124, allocations: 2.612 MB / 0.9068 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/1.124, allocations: 319.8 kB / 0.9072 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/1.125, allocations: 27.98 kB / 0.9072 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008713/1.125, allocations: 74.31 kB / 0.9073 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/1.126, allocations: 100.9 kB / 0.9073 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.126, allocations: 71.91 kB / 0.9074 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009386/1.127, allocations: 0.6312 MB / 0.908 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.166e-06/1.127, allocations: 0 / 0.908 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001885/1.129, allocations: 0.6104 MB / 0.9086 GB, free: 6.301 MB / 0.6544 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.00895/1.138, allocations: 3.738 MB / 0.9123 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004927/1.143, allocations: 1.902 MB / 0.9141 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.143, allocations: 0 / 0.9141 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003402/1.146, allocations: 1.372 MB / 0.9155 GB, free: 15.24 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.148, allocations: 323.2 kB / 0.9158 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/1.173, allocations: 11.35 MB / 0.9269 GB, free: 3.438 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.174, allocations: 1.206 MB / 0.928 GB, free: 2.199 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00196/1.176, allocations: 0.8419 MB / 0.9289 GB, free: 1.383 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.177, allocations: 0.6788 MB / 0.9295 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/1.177, allocations: 0 / 0.9295 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09686/1.274, allocations: 38.74 MB / 0.9674 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/16.01, allocations: 13.88 kB / 0.9674 GB, free: 10.2 MB / 0.7169 GB (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 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) 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) Reference file matches