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.001429/0.001429, allocations: 113.9 kB / 16.37 MB, free: 6.012 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.001536/0.001536, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6268/0.6268, allocations: 89.49 MB / 380.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.88 kB / 459.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1112, allocations: 67.31 MB / 0.5146 GB, free: 7.188 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.3863/0.4975, allocations: 201.6 MB / 0.7115 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0135/0.511, allocations: 14.96 MB / 0.7261 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006008/0.5117, allocations: 19.88 kB / 0.7262 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.5128, allocations: 0.4968 MB / 0.7266 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.5155, allocations: 1.259 MB / 0.7279 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.5186, allocations: 1.471 MB / 0.7293 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.5198, allocations: 1.231 MB / 0.7305 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.5201, allocations: 245 kB / 0.7307 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.5217, allocations: 0.9989 MB / 0.7317 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.5222, allocations: 485.8 kB / 0.7322 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.664e-05/0.5223, allocations: 76 kB / 0.7323 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.5264, allocations: 2.609 MB / 0.7348 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.5266, allocations: 195.2 kB / 0.735 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.527, allocations: 465.6 kB / 0.7354 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.5293, allocations: 1.819 MB / 0.7372 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5293, allocations: 0 / 0.7372 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5294, allocations: 0 / 0.7372 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.5294, allocations: 4 kB / 0.7372 GB, free: 2.895 MB / 0.5762 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.002164/0.5315, allocations: 1.403 MB / 0.7386 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.5316, allocations: 8.031 kB / 0.7386 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.5331, allocations: 218.7 kB / 0.7388 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.5338, allocations: 0.5343 MB / 0.7393 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.534, allocations: 188.7 kB / 0.7395 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5342, allocations: 76.97 kB / 0.7396 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1748/0.7089, allocations: 0.8254 MB / 0.7404 GB, free: 187.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.709, allocations: 0 / 0.7404 GB, free: 187.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.709, allocations: 27.78 kB / 0.7404 GB, free: 187.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.7091, allocations: 17.81 kB / 0.7404 GB, free: 187.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.7103, allocations: 0.6579 MB / 0.7411 GB, free: 187.2 MB / 0.5762 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.003376/0.7137, allocations: 3.132 MB / 0.7441 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.7148, allocations: 0.601 MB / 0.7447 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.7154, allocations: 351.3 kB / 0.745 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003691/0.7158, allocations: 0.8963 MB / 0.7459 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.7158, allocations: 45.72 kB / 0.746 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 1.953e-06/0.7158, allocations: 0 / 0.746 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.003979/0.7198, allocations: 1.662 MB / 0.7476 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.7198, allocations: 59.06 kB / 0.7476 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.7203, allocations: 0.5158 MB / 0.7482 GB, free: 184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.7204, allocations: 38.77 kB / 0.7482 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.7205, allocations: 361.4 kB / 0.7485 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.7206, allocations: 204.4 kB / 0.7487 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.7208, allocations: 111.9 kB / 0.7488 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.7209, allocations: 373.8 kB / 0.7492 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/0.7215, allocations: 257.2 kB / 0.7494 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.722, allocations: 313.2 kB / 0.7497 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.7231, allocations: 0.5424 MB / 0.7503 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7231, allocations: 2.812 kB / 0.7503 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002225/0.7253, allocations: 1.014 MB / 0.7513 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7253, allocations: 3.656 kB / 0.7513 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7253, allocations: 0 / 0.7513 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.726, allocations: 234.9 kB / 0.7515 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.7267, allocations: 150.5 kB / 0.7516 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/0.7307, allocations: 5.095 MB / 0.7566 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.7311, allocations: 71.41 kB / 0.7567 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/0.7312, allocations: 35.73 kB / 0.7567 GB, free: 179 MB / 0.5762 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.000233/0.7315, allocations: 199.5 kB / 0.7569 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.7316, allocations: 74.59 kB / 0.757 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.7343, allocations: 1.379 MB / 0.7583 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.7343, allocations: 5.188 kB / 0.7583 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7343, allocations: 3.562 kB / 0.7583 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.7343, allocations: 7.125 kB / 0.7583 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.7376, allocations: 2.031 MB / 0.7603 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7377, allocations: 2.219 kB / 0.7603 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/0.7383, allocations: 130.6 kB / 0.7604 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005833/0.7389, allocations: 242.1 kB / 0.7607 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.739, allocations: 24.23 kB / 0.7607 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/0.743, allocations: 5.103 MB / 0.7657 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.743, allocations: 2.531 kB / 0.7657 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.7457, allocations: 1.38 MB / 0.767 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.7459, allocations: 200.1 kB / 0.7672 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.746, allocations: 16.72 kB / 0.7672 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.7464, allocations: 40.14 kB / 0.7673 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.7465, allocations: 53.53 kB / 0.7673 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.7466, allocations: 35.89 kB / 0.7674 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000381/0.747, allocations: 391.6 kB / 0.7677 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.747, allocations: 1.062 kB / 0.7677 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009597/0.748, allocations: 391 kB / 0.7681 GB, free: 173.6 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.0007946/0.7488, allocations: 0.5132 MB / 0.7686 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001918/0.7507, allocations: 1.068 MB / 0.7696 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7507, allocations: 1.281 kB / 0.7696 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.752, allocations: 0.797 MB / 0.7704 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.7528, allocations: 191.9 kB / 0.7706 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.7552, allocations: 1.622 MB / 0.7722 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.7556, allocations: 0.9414 MB / 0.7731 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008016/0.7564, allocations: 429.1 kB / 0.7735 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.7566, allocations: 99.09 kB / 0.7736 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.7567, allocations: 2.25 kB / 0.7736 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.5074/1.264, allocations: 16.08 MB / 0.7893 GB, free: 167.1 MB / 0.5762 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 -s cvode -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