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.001431/0.001431, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7159/0.7159, allocations: 93.72 MB / 384.1 MB, free: 6.973 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002754, allocations: 82.52 kB / 463.5 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1351, allocations: 68.26 MB / 0.5193 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5202/0.6554, allocations: 235 MB / 0.7488 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02726/0.6827, allocations: 22.31 MB / 0.7706 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.684, allocations: 63.62 kB / 0.7706 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.6861, allocations: 0.7993 MB / 0.7714 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00512/0.6913, allocations: 2.037 MB / 0.7734 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005841/0.6971, allocations: 2.171 MB / 0.7755 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002868/0.7, allocations: 2.236 MB / 0.7777 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/0.7006, allocations: 420.9 kB / 0.7781 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.7032, allocations: 1.39 MB / 0.7795 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009935/0.7042, allocations: 0.8359 MB / 0.7803 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.7044, allocations: 136 kB / 0.7804 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007757/0.7122, allocations: 4.037 MB / 0.7844 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.7125, allocations: 342.6 kB / 0.7847 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008753/0.7134, allocations: 0.8274 MB / 0.7855 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004799/0.7182, allocations: 2.968 MB / 0.7884 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7182, allocations: 0 / 0.7884 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7183, allocations: 0 / 0.7884 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.238e-05/0.7183, allocations: 0 / 0.7884 GB, free: 6.848 MB / 0.5919 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.004512/0.7228, allocations: 2.337 MB / 0.7907 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.7229, allocations: 8.031 kB / 0.7907 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/0.7231, allocations: 193.9 kB / 0.7909 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.7261, allocations: 417.4 kB / 0.7913 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.7278, allocations: 1.021 MB / 0.7923 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004195/0.7283, allocations: 352 kB / 0.7926 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.7285, allocations: 127.9 kB / 0.7927 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.7314, allocations: 1.45 MB / 0.7941 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.7314, allocations: 0 / 0.7941 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.7316, allocations: 52 kB / 0.7942 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.7316, allocations: 32 kB / 0.7942 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/0.7344, allocations: 1.184 MB / 0.7954 GB, free: 15.47 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.007588/0.742, allocations: 5.5 MB / 0.8007 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.7452, allocations: 1.326 MB / 0.802 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.7468, allocations: 0.7105 MB / 0.8027 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.7482, allocations: 1.786 MB / 0.8045 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.7482, allocations: 43.56 kB / 0.8045 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 2.505e-06/0.7482, allocations: 4 kB / 0.8045 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.00922/0.7575, allocations: 3.055 MB / 0.8075 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.7575, allocations: 60.41 kB / 0.8076 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.7587, allocations: 0.9212 MB / 0.8085 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-05/0.7588, allocations: 41.7 kB / 0.8085 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005828/0.7594, allocations: 0.634 MB / 0.8091 GB, free: 420 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/0.7597, allocations: 386.3 kB / 0.8095 GB, free: 28 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.7601, allocations: 202.9 kB / 0.8097 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.7603, allocations: 345.9 kB / 0.81 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.7616, allocations: 498.3 kB / 0.8105 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.763, allocations: 0.584 MB / 0.8111 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/0.7656, allocations: 1.058 MB / 0.8121 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7657, allocations: 0 / 0.8121 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005552/0.7712, allocations: 1.924 MB / 0.814 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7712, allocations: 4 kB / 0.814 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7713, allocations: 4 kB / 0.814 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.7727, allocations: 408.4 kB / 0.8144 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.7742, allocations: 299.6 kB / 0.8146 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.7846, allocations: 7.427 MB / 0.8219 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.7857, allocations: 131.1 kB / 0.822 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.7858, allocations: 67.97 kB / 0.8221 GB, free: 2.477 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 (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.0005539/0.7864, allocations: 273.5 kB / 0.8224 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.7867, allocations: 130.3 kB / 0.8225 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2274/1.014, allocations: 2.729 MB / 0.8251 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/1.014, allocations: 16.02 kB / 0.8252 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.014, allocations: 10.89 kB / 0.8252 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/1.014, allocations: 5.812 kB / 0.8252 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008628/1.023, allocations: 3.584 MB / 0.8287 GB, free: 238.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.023, allocations: 1.375 kB / 0.8287 GB, free: 238.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.024, allocations: 294.2 kB / 0.829 GB, free: 238.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/1.026, allocations: 418.1 kB / 0.8294 GB, free: 238.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/1.026, allocations: 48.03 kB / 0.8294 GB, free: 238.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008487/1.034, allocations: 7.424 MB / 0.8367 GB, free: 232.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.034, allocations: 1.344 kB / 0.8367 GB, free: 232.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/1.041, allocations: 2.624 MB / 0.8392 GB, free: 231.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/1.041, allocations: 308.4 kB / 0.8395 GB, free: 231.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/1.041, allocations: 30.36 kB / 0.8395 GB, free: 231.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/1.042, allocations: 68.59 kB / 0.8396 GB, free: 231.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/1.042, allocations: 99.25 kB / 0.8397 GB, free: 231.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.042, allocations: 72.34 kB / 0.8398 GB, free: 231.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008208/1.043, allocations: 0.6331 MB / 0.8404 GB, free: 231.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/1.043, allocations: 0 / 0.8404 GB, free: 231.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001727/1.045, allocations: 0.6007 MB / 0.841 GB, free: 231.1 MB / 0.6231 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.007381/1.052, allocations: 3.73 MB / 0.8446 GB, free: 229.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004954/1.057, allocations: 1.937 MB / 0.8465 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.057, allocations: 6.656 kB / 0.8465 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002665/1.06, allocations: 1.376 MB / 0.8479 GB, free: 228 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.061, allocations: 308.9 kB / 0.8482 GB, free: 227.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.082, allocations: 12.05 MB / 0.8599 GB, free: 221.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/1.083, allocations: 1.207 MB / 0.8611 GB, free: 221.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001909/1.085, allocations: 0.8353 MB / 0.8619 GB, free: 220.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009057/1.086, allocations: 0.6816 MB / 0.8626 GB, free: 220.1 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/1.086, allocations: 3.938 kB / 0.8626 GB, free: 220.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.986/6.071, allocations: 38.29 MB / 0.9 GB, free: 186.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.24/27.31, allocations: 19.38 kB / 0.9 GB, free: 186.5 MB / 0.6231 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