Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.007402/0.007402, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001606/0.001606, allocations: 196.2 kB / 16.79 MB, free: 5.809 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.3/1.3, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.629/0.629, allocations: 89.51 MB / 380.1 MB, free: 11.25 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 79.84 kB / 458.2 MB, free: 23.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1059, allocations: 67.32 MB / 0.5132 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.429/0.535, allocations: 200 MB / 0.7085 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.5502, allocations: 15.09 MB / 0.7232 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007537/0.551, allocations: 19.88 kB / 0.7233 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.5524, allocations: 457.7 kB / 0.7237 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.5556, allocations: 1.116 MB / 0.7248 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.5589, allocations: 1.274 MB / 0.726 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.5603, allocations: 1.366 MB / 0.7274 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.5606, allocations: 237.1 kB / 0.7276 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.5626, allocations: 0.9889 MB / 0.7286 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.563, allocations: 485.7 kB / 0.729 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.083e-05/0.5631, allocations: 56 kB / 0.7291 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004931/0.5681, allocations: 2.691 MB / 0.7317 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.5683, allocations: 167.2 kB / 0.7319 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.5688, allocations: 449.6 kB / 0.7323 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.5709, allocations: 1.302 MB / 0.7336 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5709, allocations: 3.984 kB / 0.7336 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.61e-07/0.5709, allocations: 0 / 0.7336 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.5709, allocations: 0 / 0.7336 GB, free: 1.441 MB / 0.5294 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.002564/0.5735, allocations: 1.403 MB / 0.7349 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.5735, allocations: 8.031 kB / 0.7349 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.5753, allocations: 218.7 kB / 0.7352 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.576, allocations: 0.5254 MB / 0.7357 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.5762, allocations: 180.7 kB / 0.7358 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5763, allocations: 79.89 kB / 0.7359 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.5779, allocations: 0.8335 MB / 0.7367 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.578, allocations: 0 / 0.7367 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.319e-05/0.578, allocations: 28 kB / 0.7368 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.5781, allocations: 16 kB / 0.7368 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.5795, allocations: 0.6636 MB / 0.7374 GB, free: 13.36 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.004132/0.5837, allocations: 3.156 MB / 0.7405 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.5851, allocations: 0.6044 MB / 0.7411 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.5859, allocations: 342.4 kB / 0.7414 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006875/0.5866, allocations: 0.9069 MB / 0.7423 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5866, allocations: 43.06 kB / 0.7423 GB, free: 7.816 MB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 2.554e-06/0.5866, allocations: 0 / 0.7423 GB, free: 7.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.00486/0.5915, allocations: 1.663 MB / 0.744 GB, free: 6.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.5916, allocations: 59.97 kB / 0.744 GB, free: 6.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.5922, allocations: 0.5148 MB / 0.7445 GB, free: 5.488 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.5923, allocations: 33.7 kB / 0.7446 GB, free: 5.449 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.5925, allocations: 364.2 kB / 0.7449 GB, free: 5.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.5927, allocations: 201 kB / 0.7451 GB, free: 4.891 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.5929, allocations: 118.1 kB / 0.7452 GB, free: 4.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.593, allocations: 374.8 kB / 0.7456 GB, free: 4.395 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006335/0.5937, allocations: 253 kB / 0.7458 GB, free: 4.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.5943, allocations: 312.6 kB / 0.7461 GB, free: 3.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.5956, allocations: 0.5445 MB / 0.7466 GB, free: 3.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5956, allocations: 0 / 0.7466 GB, free: 3.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002685/0.5983, allocations: 1.016 MB / 0.7476 GB, free: 2.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5983, allocations: 10.34 kB / 0.7476 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5983, allocations: 0 / 0.7476 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/0.5991, allocations: 230.4 kB / 0.7479 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007389/0.5998, allocations: 147.8 kB / 0.748 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/0.6051, allocations: 4.751 MB / 0.7526 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.6056, allocations: 71.53 kB / 0.7527 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.6057, allocations: 39.98 kB / 0.7527 GB, free: 12.6 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.0002957/0.606, allocations: 193.7 kB / 0.7529 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6062, allocations: 71.16 kB / 0.753 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/0.6097, allocations: 1.388 MB / 0.7544 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6097, allocations: 4 kB / 0.7544 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6097, allocations: 7.938 kB / 0.7544 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.6097, allocations: 3.984 kB / 0.7544 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004025/0.6137, allocations: 2.024 MB / 0.7563 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6138, allocations: 4 kB / 0.7564 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.6145, allocations: 131.8 kB / 0.7565 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006903/0.6152, allocations: 246.3 kB / 0.7567 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/0.6153, allocations: 27.98 kB / 0.7567 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00507/0.6203, allocations: 4.736 MB / 0.7614 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6204, allocations: 0 / 0.7614 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.6237, allocations: 1.385 MB / 0.7627 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.624, allocations: 196.1 kB / 0.7629 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.6241, allocations: 16 kB / 0.7629 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/0.6246, allocations: 51.89 kB / 0.763 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.6248, allocations: 52.36 kB / 0.763 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.6248, allocations: 35.92 kB / 0.7631 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004444/0.6253, allocations: 390.8 kB / 0.7634 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6253, allocations: 0 / 0.7634 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001069/0.6264, allocations: 383.3 kB / 0.7638 GB, free: 0.6914 MB / 0.5606 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.0009505/0.6273, allocations: 0.5267 MB / 0.7643 GB, free: 176 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002269/0.6296, allocations: 1.065 MB / 0.7653 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6296, allocations: 4.125 kB / 0.7654 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.6311, allocations: 0.7875 MB / 0.7661 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009359/0.6321, allocations: 177.6 kB / 0.7663 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.6351, allocations: 2.013 MB / 0.7683 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.6356, allocations: 0.938 MB / 0.7692 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.636, allocations: 119.3 kB / 0.7693 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.6361, allocations: 0 / 0.7693 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.02506/0.6611, allocations: 23.31 MB / 0.792 GB, free: 3.652 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches