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.001558/0.001558, allocations: 115.2 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.001917/0.001917, allocations: 191.7 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6637/0.6637, allocations: 89.49 MB / 380.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 79.88 kB / 459.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1208, allocations: 67.31 MB / 0.5146 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4188/0.5396, allocations: 201.6 MB / 0.7115 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02992/0.5695, allocations: 14.96 MB / 0.7261 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/0.5705, allocations: 19.88 kB / 0.7262 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.5727, allocations: 0.4968 MB / 0.7266 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005576/0.5783, allocations: 1.255 MB / 0.7279 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007207/0.5855, allocations: 1.48 MB / 0.7293 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.5882, allocations: 1.223 MB / 0.7305 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000709/0.589, allocations: 250.2 kB / 0.7307 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.5922, allocations: 0.9911 MB / 0.7317 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008816/0.5931, allocations: 489.7 kB / 0.7322 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.5933, allocations: 76 kB / 0.7323 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008438/0.6017, allocations: 2.621 MB / 0.7348 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.6021, allocations: 191.3 kB / 0.735 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007794/0.6029, allocations: 469.5 kB / 0.7354 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00462/0.6075, allocations: 1.815 MB / 0.7372 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6076, allocations: 0 / 0.7372 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6076, allocations: 0 / 0.7372 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.6076, allocations: 4 kB / 0.7372 GB, free: 2.941 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.004245/0.6119, allocations: 1.403 MB / 0.7386 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.6119, allocations: 8.031 kB / 0.7386 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/0.6155, allocations: 218.7 kB / 0.7388 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.6168, allocations: 0.5255 MB / 0.7393 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.6171, allocations: 196.7 kB / 0.7395 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.6173, allocations: 75.91 kB / 0.7396 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2108/0.8281, allocations: 0.8174 MB / 0.7404 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.8282, allocations: 0 / 0.7404 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.871e-05/0.8282, allocations: 29.25 kB / 0.7404 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.8283, allocations: 20.22 kB / 0.7404 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.8296, allocations: 0.6541 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.003492/0.8331, allocations: 3.137 MB / 0.7441 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.8343, allocations: 0.603 MB / 0.7447 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.8349, allocations: 351 kB / 0.745 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/0.8353, allocations: 0.9019 MB / 0.7459 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.8353, allocations: 42.25 kB / 0.746 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 1.974e-06/0.8353, allocations: 0 / 0.746 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.004173/0.8395, allocations: 1.658 MB / 0.7476 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.8395, allocations: 63.39 kB / 0.7476 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.8401, allocations: 0.5171 MB / 0.7482 GB, free: 184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.8401, allocations: 35.27 kB / 0.7482 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.8403, allocations: 362.8 kB / 0.7485 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.791e-05/0.8404, allocations: 198.8 kB / 0.7487 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.8405, allocations: 112.2 kB / 0.7488 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.8406, allocations: 377.6 kB / 0.7492 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/0.8412, allocations: 257.7 kB / 0.7494 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/0.8417, allocations: 306.2 kB / 0.7497 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.8429, allocations: 0.5453 MB / 0.7503 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.8429, allocations: 5.25 kB / 0.7503 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002631/0.8456, allocations: 1.013 MB / 0.7513 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.8456, allocations: 5.969 kB / 0.7513 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.8456, allocations: 1.656 kB / 0.7513 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008096/0.8464, allocations: 230 kB / 0.7515 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.8472, allocations: 156.7 kB / 0.7516 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/0.8516, allocations: 5.093 MB / 0.7566 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.8522, allocations: 66.14 kB / 0.7567 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.832e-05/0.8522, allocations: 39.45 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.0002688/0.8525, allocations: 198.3 kB / 0.7569 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.8527, allocations: 70.59 kB / 0.757 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/0.8557, allocations: 1.391 MB / 0.7583 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.8557, allocations: 9.219 kB / 0.7583 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8557, allocations: 3.281 kB / 0.7583 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.8557, allocations: 7.969 kB / 0.7583 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/0.8594, allocations: 2.024 MB / 0.7603 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8594, allocations: 0 / 0.7603 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/0.8601, allocations: 135 kB / 0.7604 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006217/0.8607, allocations: 240.2 kB / 0.7607 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.8608, allocations: 24.88 kB / 0.7607 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004403/0.8652, allocations: 5.098 MB / 0.7657 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8652, allocations: 2.688 kB / 0.7657 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.8683, allocations: 1.385 MB / 0.767 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.8686, allocations: 195.2 kB / 0.7672 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.8687, allocations: 19.16 kB / 0.7672 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.8691, allocations: 41.59 kB / 0.7673 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.8693, allocations: 50.94 kB / 0.7673 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.8693, allocations: 34.67 kB / 0.7674 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004224/0.8698, allocations: 383.2 kB / 0.7677 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.02e-07/0.8698, allocations: 0 / 0.7677 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009981/0.8708, allocations: 394.4 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.0009282/0.8717, allocations: 0.517 MB / 0.7686 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002117/0.8738, allocations: 1.071 MB / 0.7697 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8739, allocations: 0 / 0.7697 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.8752, allocations: 0.7986 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.000888/0.8761, allocations: 191.4 kB / 0.7706 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.8788, allocations: 1.62 MB / 0.7722 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.8793, allocations: 0.9421 MB / 0.7731 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009828/0.8803, allocations: 433.7 kB / 0.7735 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.8806, allocations: 97.23 kB / 0.7736 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.8806, allocations: 0 / 0.7736 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02637/0.907, allocations: 16.07 MB / 0.7893 GB, free: 167.2 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 gbode -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