Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",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.001446/0.001446, allocations: 112.5 kB / 15.73 MB, free: 76 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.001788/0.001788, allocations: 191.5 kB / 16.67 MB, free: 6.582 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.619/1.619, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9055/0.9055, allocations: 93.71 MB / 384.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003676/0.003676, allocations: 83.88 kB / 0.5199 GB, free: 6.297 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2058, allocations: 68.26 MB / 0.5866 GB, free: 1.961 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.7498/0.9557, allocations: 201.9 MB / 0.7837 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02144/0.9772, allocations: 15.06 MB / 0.7984 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.9788, allocations: 47.69 kB / 0.7985 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.9806, allocations: 0.5161 MB / 0.799 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.9857, allocations: 1.333 MB / 0.8003 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/0.9909, allocations: 1.467 MB / 0.8017 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002649/0.9936, allocations: 1.397 MB / 0.8031 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006451/0.9943, allocations: 260.5 kB / 0.8033 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.9975, allocations: 1.078 MB / 0.8044 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007372/0.9983, allocations: 0.5091 MB / 0.8049 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.9984, allocations: 80 kB / 0.805 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006968/1.005, allocations: 2.613 MB / 0.8075 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/1.006, allocations: 199.2 kB / 0.8077 GB, free: 56 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/1.007, allocations: 0.5089 MB / 0.8082 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007569/1.014, allocations: 1.973 MB / 0.8101 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.015, allocations: 0 / 0.8101 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.847e-06/1.015, allocations: 0 / 0.8101 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.349e-05/1.015, allocations: 0 / 0.8101 GB, free: 13.56 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004637/1.019, allocations: 1.614 MB / 0.8117 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/1.019, allocations: 8.031 kB / 0.8117 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/1.02, allocations: 122.5 kB / 0.8118 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/1.022, allocations: 251 kB / 0.8121 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/1.023, allocations: 0.7915 MB / 0.8128 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/1.024, allocations: 180.8 kB / 0.813 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/1.024, allocations: 75.95 kB / 0.8131 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/1.026, allocations: 0.8335 MB / 0.8139 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/1.026, allocations: 0 / 0.8139 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/1.026, allocations: 32 kB / 0.8139 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/1.026, allocations: 16 kB / 0.8139 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/1.027, allocations: 0.6558 MB / 0.8146 GB, free: 8.852 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.005001/1.032, allocations: 3.197 MB / 0.8177 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/1.034, allocations: 0.6019 MB / 0.8183 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007997/1.035, allocations: 346.4 kB / 0.8186 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008395/1.036, allocations: 0.8991 MB / 0.8195 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/1.036, allocations: 39.12 kB / 0.8195 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=58): time 4.008e-06/1.036, allocations: 0 / 0.8195 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of matching and sorting (n=58): time 0.005279/1.041, allocations: 1.694 MB / 0.8212 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/1.041, allocations: 59.97 kB / 0.8213 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000984/1.042, allocations: 0.6849 MB / 0.8219 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/1.042, allocations: 33.7 kB / 0.822 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/1.042, allocations: 452.8 kB / 0.8224 GB, free: 268 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/1.043, allocations: 214.1 kB / 0.8226 GB, free: 52 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/1.043, allocations: 118.2 kB / 0.8227 GB, free: 15.93 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002517/1.043, allocations: 329.9 kB / 0.823 GB, free: 15.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/1.044, allocations: 257 kB / 0.8233 GB, free: 15.35 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008183/1.045, allocations: 304.6 kB / 0.8236 GB, free: 15.04 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/1.047, allocations: 0.5553 MB / 0.8241 GB, free: 14.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/1.047, allocations: 0 / 0.8241 GB, free: 14.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003559/1.05, allocations: 1.028 MB / 0.8251 GB, free: 13.44 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/1.05, allocations: 8 kB / 0.8251 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.05, allocations: 3.984 kB / 0.8251 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009622/1.051, allocations: 234.2 kB / 0.8253 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/1.052, allocations: 139.8 kB / 0.8255 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007196/1.059, allocations: 5.11 MB / 0.8305 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/1.06, allocations: 71.64 kB / 0.8305 GB, free: 7.449 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/1.06, allocations: 35.98 kB / 0.8306 GB, free: 7.414 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005325/1.061, allocations: 205.6 kB / 0.8308 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/1.061, allocations: 87.44 kB / 0.8308 GB, free: 7.117 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/1.065, allocations: 1.404 MB / 0.8322 GB, free: 5.695 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.065, allocations: 4 kB / 0.8322 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/1.065, allocations: 4 kB / 0.8322 GB, free: 5.688 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.065, allocations: 3.984 kB / 0.8322 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005263/1.071, allocations: 2.087 MB / 0.8343 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.071, allocations: 3.984 kB / 0.8343 GB, free: 3.488 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/1.071, allocations: 131.8 kB / 0.8344 GB, free: 3.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000878/1.072, allocations: 242.4 kB / 0.8346 GB, free: 3.113 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/1.072, allocations: 27.98 kB / 0.8346 GB, free: 3.086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006748/1.079, allocations: 5.099 MB / 0.8396 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.079, allocations: 8 kB / 0.8396 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003839/1.083, allocations: 1.398 MB / 0.841 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/1.083, allocations: 228.3 kB / 0.8412 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.084, allocations: 15.94 kB / 0.8412 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/1.084, allocations: 39.95 kB / 0.8413 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/1.084, allocations: 52.69 kB / 0.8413 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/1.084, allocations: 31.98 kB / 0.8413 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006991/1.085, allocations: 0.4912 MB / 0.8418 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.085, allocations: 0 / 0.8418 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001238/1.086, allocations: 395 kB / 0.8422 GB, free: 10.87 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005396/1.092, allocations: 2.374 MB / 0.8445 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003046/1.095, allocations: 1.072 MB / 0.8456 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.095, allocations: 4.062 kB / 0.8456 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/1.097, allocations: 0.7875 MB / 0.8463 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/1.098, allocations: 219.1 kB / 0.8466 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4054/1.503, allocations: 7.206 MB / 0.8536 GB, free: 236.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/1.504, allocations: 0.9986 MB / 0.8546 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001356/1.505, allocations: 448.1 kB / 0.855 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005893/1.506, allocations: 414 kB / 0.8554 GB, free: 235.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.462e-06/1.506, allocations: 1.062 kB / 0.8554 GB, free: 235.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07969/1.586, allocations: 25.71 MB / 0.8805 GB, free: 229.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.68, allocations: 5.422 kB / 0.8805 GB, free: 229.1 MB / 0.6856 GB (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches