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.001103/0.001103, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6826/0.6826, allocations: 91.19 MB / 381.6 MB, free: 9.414 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 82.5 kB / 460.3 MB, free: 23.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1165, allocations: 67.69 MB / 0.5156 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4447/0.5613, allocations: 201.8 MB / 0.7127 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01748/0.5788, allocations: 15.03 MB / 0.7274 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.5801, allocations: 39.75 kB / 0.7274 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.582, allocations: 0.52 MB / 0.7279 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.5859, allocations: 1.306 MB / 0.7292 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.5899, allocations: 1.476 MB / 0.7306 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.5918, allocations: 1.347 MB / 0.7319 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004505/0.5923, allocations: 262.9 kB / 0.7322 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.5943, allocations: 1.059 MB / 0.7332 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.5949, allocations: 0.4936 MB / 0.7337 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.595, allocations: 80 kB / 0.7338 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005153/0.6002, allocations: 2.563 MB / 0.7363 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.6005, allocations: 207 kB / 0.7365 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.601, allocations: 0.5011 MB / 0.737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.6047, allocations: 1.917 MB / 0.7389 GB, free: 10.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6047, allocations: 0 / 0.7389 GB, free: 10.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.476e-06/0.6047, allocations: 0 / 0.7389 GB, free: 10.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.6047, allocations: 3.938 kB / 0.7389 GB, free: 10.82 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.002861/0.6076, allocations: 1.55 MB / 0.7404 GB, free: 9.215 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.6077, allocations: 12.03 kB / 0.7404 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.6094, allocations: 246.4 kB / 0.7406 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.6105, allocations: 0.6971 MB / 0.7413 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.6108, allocations: 184.8 kB / 0.7415 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.6109, allocations: 75.91 kB / 0.7415 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.6126, allocations: 0.8305 MB / 0.7424 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.6126, allocations: 0 / 0.7424 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.6127, allocations: 32 kB / 0.7424 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.6127, allocations: 16 kB / 0.7424 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.6143, allocations: 0.6636 MB / 0.7431 GB, free: 6.387 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.004338/0.6186, allocations: 3.201 MB / 0.7462 GB, free: 2.906 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.6201, allocations: 0.5977 MB / 0.7468 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.6208, allocations: 346.4 kB / 0.7471 GB, free: 1.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006403/0.6215, allocations: 0.8952 MB / 0.748 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6215, allocations: 47.94 kB / 0.748 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 2.955e-06/0.6215, allocations: 0 / 0.748 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.005057/0.6266, allocations: 1.678 MB / 0.7497 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.6267, allocations: 55.97 kB / 0.7497 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008424/0.6275, allocations: 0.6767 MB / 0.7504 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.6276, allocations: 33.7 kB / 0.7504 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.6279, allocations: 432.2 kB / 0.7508 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.6281, allocations: 201.1 kB / 0.751 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.6283, allocations: 118.2 kB / 0.7511 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6284, allocations: 326 kB / 0.7514 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.6291, allocations: 253 kB / 0.7517 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.6298, allocations: 308.6 kB / 0.752 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.6311, allocations: 0.5445 MB / 0.7525 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6312, allocations: 0 / 0.7525 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002926/0.6341, allocations: 1.035 MB / 0.7535 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.6341, allocations: 9.875 kB / 0.7535 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.6342, allocations: 4 kB / 0.7535 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008903/0.635, allocations: 230.3 kB / 0.7537 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.6359, allocations: 157.1 kB / 0.7539 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/0.6421, allocations: 5.091 MB / 0.7589 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/0.6428, allocations: 83.38 kB / 0.7589 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.618e-05/0.6429, allocations: 35.98 kB / 0.759 GB, free: 5 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.0004002/0.6433, allocations: 209.6 kB / 0.7592 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.6434, allocations: 78.97 kB / 0.7592 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00373/0.6472, allocations: 1.401 MB / 0.7606 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.6472, allocations: 11.94 kB / 0.7606 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6472, allocations: 4 kB / 0.7606 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.6472, allocations: 0 / 0.7606 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/0.6518, allocations: 2.075 MB / 0.7627 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.6518, allocations: 0 / 0.7627 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/0.6526, allocations: 140 kB / 0.7628 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007692/0.6534, allocations: 242.2 kB / 0.763 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.907e-05/0.6535, allocations: 23.92 kB / 0.763 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005877/0.6594, allocations: 5.098 MB / 0.768 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6594, allocations: 3.938 kB / 0.768 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/0.6631, allocations: 1.397 MB / 0.7694 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.6636, allocations: 207.9 kB / 0.7696 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.6638, allocations: 19.94 kB / 0.7696 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005111/0.6643, allocations: 36.33 kB / 0.7696 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.6645, allocations: 60.38 kB / 0.7697 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.6645, allocations: 31.98 kB / 0.7697 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005841/0.6651, allocations: 487 kB / 0.7702 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6651, allocations: 0 / 0.7702 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001159/0.6663, allocations: 395.3 kB / 0.7706 GB, free: 8.504 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.001124/0.6674, allocations: 0.5235 MB / 0.7711 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002672/0.6701, allocations: 1.084 MB / 0.7721 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6701, allocations: 0 / 0.7721 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.6718, allocations: 0.8033 MB / 0.7729 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.6729, allocations: 211.4 kB / 0.7731 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.6763, allocations: 1.817 MB / 0.7749 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.6769, allocations: 0.9932 MB / 0.7759 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00115/0.678, allocations: 450.9 kB / 0.7763 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.6784, allocations: 103.4 kB / 0.7764 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of SimCode: time 5.52e-07/0.6784, allocations: 0 / 0.7764 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of Templates: time 0.02869/0.7071, allocations: 16.5 MB / 0.7925 GB, free: 2.012 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches