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: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 104.8 kB / 15.99 MB, free: 5.891 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.00191/0.00191, allocations: 190.2 kB / 16.91 MB, free: 5.746 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.479/1.479, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7661/0.7661, allocations: 93.7 MB / 384.4 MB, free: 7.102 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 82.25 kB / 463.6 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1293, allocations: 68.27 MB / 0.5194 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4897/0.619, allocations: 200 MB / 0.7147 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01884/0.6379, allocations: 15.06 MB / 0.7294 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.6392, allocations: 51.62 kB / 0.7295 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.6407, allocations: 465.4 kB / 0.7299 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.6441, allocations: 1.206 MB / 0.7311 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.6481, allocations: 1.353 MB / 0.7324 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002064/0.6502, allocations: 1.397 MB / 0.7338 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000464/0.6507, allocations: 260.5 kB / 0.734 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.6531, allocations: 1.129 MB / 0.7351 GB, free: 14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006228/0.6537, allocations: 0.5131 MB / 0.7356 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.6539, allocations: 80 kB / 0.7357 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005399/0.6593, allocations: 2.781 MB / 0.7384 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.6596, allocations: 215.1 kB / 0.7386 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.6602, allocations: 0.5089 MB / 0.7391 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.6628, allocations: 1.419 MB / 0.7405 GB, free: 8.477 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6628, allocations: 4 kB / 0.7405 GB, free: 8.473 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6629, allocations: 0 / 0.7405 GB, free: 8.473 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.6629, allocations: 0 / 0.7405 GB, free: 8.473 MB / 0.545 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.003069/0.6659, allocations: 1.566 MB / 0.742 GB, free: 6.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.666, allocations: 8.031 kB / 0.742 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.6677, allocations: 238.9 kB / 0.7423 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.6689, allocations: 0.7242 MB / 0.743 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.6692, allocations: 184.8 kB / 0.7432 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.6693, allocations: 72 kB / 0.7432 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.6711, allocations: 0.8219 MB / 0.744 GB, free: 4.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.6711, allocations: 0 / 0.744 GB, free: 4.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.6712, allocations: 28 kB / 0.7441 GB, free: 4.703 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.6712, allocations: 20 kB / 0.7441 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.6727, allocations: 0.6635 MB / 0.7447 GB, free: 4.023 MB / 0.545 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.004794/0.6775, allocations: 3.205 MB / 0.7479 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.679, allocations: 0.5966 MB / 0.7484 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/0.6797, allocations: 350.8 kB / 0.7488 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007498/0.6805, allocations: 0.899 MB / 0.7496 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.6805, allocations: 43.12 kB / 0.7497 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=58): time 2.886e-06/0.6805, allocations: 0 / 0.7497 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58): time 0.00501/0.6856, allocations: 1.686 MB / 0.7513 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.6856, allocations: 55.97 kB / 0.7514 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/0.6865, allocations: 0.6849 MB / 0.7521 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.6866, allocations: 37.64 kB / 0.7521 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.687, allocations: 448.1 kB / 0.7525 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.6872, allocations: 205.1 kB / 0.7527 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.6874, allocations: 110.2 kB / 0.7528 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6876, allocations: 326 kB / 0.7531 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.6882, allocations: 253 kB / 0.7534 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006929/0.6889, allocations: 312.6 kB / 0.7537 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.6902, allocations: 0.5445 MB / 0.7542 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6902, allocations: 0 / 0.7542 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002952/0.6932, allocations: 1.031 MB / 0.7552 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6932, allocations: 11.98 kB / 0.7552 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6933, allocations: 6.594 kB / 0.7552 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008395/0.6941, allocations: 230.4 kB / 0.7554 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.6949, allocations: 147.8 kB / 0.7556 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/0.7012, allocations: 5.096 MB / 0.7606 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/0.702, allocations: 87.47 kB / 0.7606 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/0.7021, allocations: 39.98 kB / 0.7607 GB, free: 2.594 MB / 0.5606 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.0003956/0.7025, allocations: 205.6 kB / 0.7609 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.7027, allocations: 90.95 kB / 0.761 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.7065, allocations: 1.403 MB / 0.7623 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.7066, allocations: 7.938 kB / 0.7623 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7066, allocations: 4 kB / 0.7624 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.7066, allocations: 3.984 kB / 0.7624 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.7112, allocations: 2.079 MB / 0.7644 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.7113, allocations: 0 / 0.7644 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007868/0.7121, allocations: 139.8 kB / 0.7645 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007661/0.7129, allocations: 230.4 kB / 0.7647 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.7129, allocations: 31.92 kB / 0.7648 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006097/0.719, allocations: 5.1 MB / 0.7697 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7191, allocations: 4 kB / 0.7698 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.7227, allocations: 1.397 MB / 0.7711 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.7231, allocations: 212.7 kB / 0.7713 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.7233, allocations: 27.88 kB / 0.7713 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/0.7238, allocations: 43.95 kB / 0.7714 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.724, allocations: 56.3 kB / 0.7714 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/0.7241, allocations: 35.98 kB / 0.7715 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006716/0.7247, allocations: 495 kB / 0.7719 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7247, allocations: 0 / 0.7719 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001196/0.7259, allocations: 395.2 kB / 0.7723 GB, free: 6.059 MB / 0.5762 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.001134/0.7271, allocations: 0.5273 MB / 0.7728 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002663/0.7298, allocations: 1.084 MB / 0.7739 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7298, allocations: 0 / 0.7739 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.7314, allocations: 0.7994 MB / 0.7747 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.7326, allocations: 212.3 kB / 0.7749 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.7364, allocations: 2.228 MB / 0.7771 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.7371, allocations: 0.9932 MB / 0.778 GB, free: 80 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.7377, allocations: 131.3 kB / 0.7782 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.7377, allocations: 3.938 kB / 0.7782 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.03742/0.7751, allocations: 26.74 MB / 0.8043 GB, free: 5.234 MB / 0.6075 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (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 & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/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