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.0009051/0.0009051, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001155/0.001155, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6915/0.6915, allocations: 89.63 MB / 380.7 MB, free: 11.44 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 14.97 kB / 460 MB, free: 24.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1477, allocations: 68.83 MB / 0.5165 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5904/0.7381, allocations: 184.1 MB / 0.6962 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01982/0.758, allocations: 13.89 MB / 0.7098 GB, free: 5.992 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.7597, allocations: 19.88 kB / 0.7098 GB, free: 5.973 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.7617, allocations: 425.6 kB / 0.7102 GB, free: 5.555 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.005169/0.7669, allocations: 1.096 MB / 0.7113 GB, free: 4.453 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.7714, allocations: 1.127 MB / 0.7124 GB, free: 3.324 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.002429/0.7739, allocations: 1.238 MB / 0.7136 GB, free: 2.082 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005679/0.7744, allocations: 204.7 kB / 0.7138 GB, free: 1.875 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.7772, allocations: 0.8996 MB / 0.7146 GB, free: 0.9727 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009794/0.7782, allocations: 422.1 kB / 0.715 GB, free: 0.5586 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.7784, allocations: 40 kB / 0.7151 GB, free: 0.5195 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006369/0.7848, allocations: 2.438 MB / 0.7175 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.785, allocations: 147.3 kB / 0.7176 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.7854, allocations: 185.2 kB / 0.7178 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.7881, allocations: 1.243 MB / 0.719 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7881, allocations: 0 / 0.719 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7881, allocations: 4 kB / 0.719 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.499e-05/0.7882, allocations: 0 / 0.719 GB, free: 12.5 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.002927/0.7911, allocations: 1.255 MB / 0.7202 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.7911, allocations: 12.03 kB / 0.7202 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.7929, allocations: 222.6 kB / 0.7205 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009185/0.7939, allocations: 0.5063 MB / 0.7209 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.7941, allocations: 188.8 kB / 0.7211 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.7942, allocations: 75.95 kB / 0.7212 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.796, allocations: 0.8453 MB / 0.722 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.7961, allocations: 0 / 0.722 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.7961, allocations: 28.88 kB / 0.7221 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.7962, allocations: 20 kB / 0.7221 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.7977, allocations: 0.6792 MB / 0.7227 GB, free: 8.547 MB / 0.5294 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.004781/0.8025, allocations: 3.171 MB / 0.7258 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.804, allocations: 0.6356 MB / 0.7265 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007228/0.8048, allocations: 366.4 kB / 0.7268 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008143/0.8056, allocations: 0.9068 MB / 0.7277 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.8056, allocations: 35.12 kB / 0.7277 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=58): time 2.555e-06/0.8057, allocations: 0 / 0.7277 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=58): time 0.004896/0.8106, allocations: 1.878 MB / 0.7296 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.8106, allocations: 63.95 kB / 0.7296 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.8113, allocations: 0.5148 MB / 0.7301 GB, free: 392 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.8114, allocations: 37.7 kB / 0.7302 GB, free: 348 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.8117, allocations: 360.3 kB / 0.7305 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.812, allocations: 205 kB / 0.7307 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.812, allocations: 12 kB / 0.7307 GB, free: 15.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.8122, allocations: 370.8 kB / 0.7311 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007533/0.8129, allocations: 285 kB / 0.7313 GB, free: 15.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.8136, allocations: 332.5 kB / 0.7316 GB, free: 14.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/0.8144, allocations: 290.1 kB / 0.7319 GB, free: 14.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.8144, allocations: 4 kB / 0.7319 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002843/0.8172, allocations: 1.121 MB / 0.733 GB, free: 13.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8173, allocations: 4 kB / 0.733 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.8173, allocations: 3.625 kB / 0.733 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008392/0.8181, allocations: 274.3 kB / 0.7333 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.8188, allocations: 147.8 kB / 0.7334 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.8247, allocations: 4.915 MB / 0.7382 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.8253, allocations: 91.98 kB / 0.7383 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-05/0.8254, allocations: 39.98 kB / 0.7384 GB, free: 7.5 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003105/0.8257, allocations: 189.8 kB / 0.7385 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.8259, allocations: 63.25 kB / 0.7386 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.8294, allocations: 1.52 MB / 0.7401 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.8294, allocations: 8 kB / 0.7401 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.8294, allocations: 2.438 kB / 0.7401 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.8294, allocations: 3.984 kB / 0.7401 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.8336, allocations: 2.157 MB / 0.7422 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.8336, allocations: 7.938 kB / 0.7422 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/0.8343, allocations: 131.8 kB / 0.7423 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007368/0.8351, allocations: 270.5 kB / 0.7426 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.8351, allocations: 27.92 kB / 0.7426 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005526/0.8407, allocations: 4.92 MB / 0.7474 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8407, allocations: 0 / 0.7474 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.8441, allocations: 1.514 MB / 0.7489 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.8444, allocations: 208 kB / 0.7491 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.8445, allocations: 23.98 kB / 0.7491 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.845, allocations: 51.95 kB / 0.7492 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.8452, allocations: 56.38 kB / 0.7492 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.97e-05/0.8453, allocations: 31.98 kB / 0.7493 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005029/0.8458, allocations: 378.8 kB / 0.7496 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8458, allocations: 0 / 0.7496 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001231/0.847, allocations: 383.3 kB / 0.75 GB, free: 10.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.8481, allocations: 0.5287 MB / 0.7505 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.8505, allocations: 1.147 MB / 0.7516 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8505, allocations: 3.938 kB / 0.7516 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.8521, allocations: 0.858 MB / 0.7525 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.8531, allocations: 178.6 kB / 0.7526 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.8567, allocations: 2.03 MB / 0.7546 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.8573, allocations: 0.938 MB / 0.7555 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001208/0.8586, allocations: 432.5 kB / 0.7559 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.8589, allocations: 95.38 kB / 0.756 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.859, allocations: 0 / 0.756 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of Templates: time 0.02724/0.8862, allocations: 15.09 MB / 0.7708 GB, free: 5.668 MB / 0.5763 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches