Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 92.08 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.001244/0.001244, 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.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7545/0.7545, allocations: 89.63 MB / 380.7 MB, free: 11.43 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003688, allocations: 13.2 kB / 460 MB, free: 24.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 68.83 MB / 0.5164 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5889/0.7238, allocations: 195.8 MB / 0.7076 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02052/0.7444, allocations: 16.11 MB / 0.7234 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.7464, allocations: 19.88 kB / 0.7234 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.7484, allocations: 0.5049 MB / 0.7239 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005594/0.754, allocations: 1.442 MB / 0.7253 GB, free: 6 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004699/0.7587, allocations: 1.282 MB / 0.7265 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002482/0.7612, allocations: 1.584 MB / 0.7281 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004956/0.7617, allocations: 230.3 kB / 0.7283 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.7641, allocations: 0.989 MB / 0.7293 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006468/0.7648, allocations: 0.5327 MB / 0.7298 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.635e-05/0.7649, allocations: 48 kB / 0.7298 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007654/0.7726, allocations: 3.25 MB / 0.733 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.7729, allocations: 179.1 kB / 0.7332 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004635/0.7734, allocations: 225.1 kB / 0.7334 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.7766, allocations: 1.493 MB / 0.7348 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7766, allocations: 0 / 0.7348 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7766, allocations: 0 / 0.7348 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.7767, allocations: 4 kB / 0.7348 GB, free: 12.16 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002933/0.7796, allocations: 1.485 MB / 0.7363 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.7796, allocations: 8.031 kB / 0.7363 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.7815, allocations: 270.3 kB / 0.7366 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.7826, allocations: 0.6024 MB / 0.7372 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.7828, allocations: 208.8 kB / 0.7374 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.783, allocations: 99.89 kB / 0.7374 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.785, allocations: 1.024 MB / 0.7384 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.785, allocations: 4 kB / 0.7385 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.7851, allocations: 39.98 kB / 0.7385 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.7851, allocations: 20 kB / 0.7385 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.7868, allocations: 0.8119 MB / 0.7393 GB, free: 7.453 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.005356/0.7921, allocations: 4.087 MB / 0.7433 GB, free: 3.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.7941, allocations: 0.9016 MB / 0.7442 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008096/0.795, allocations: 457.3 kB / 0.7446 GB, free: 1.656 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009765/0.7959, allocations: 1.303 MB / 0.7459 GB, free: 60 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.796, allocations: 43.22 kB / 0.7459 GB, free: 4 kB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 3.216e-06/0.796, allocations: 0 / 0.7459 GB, free: 4 kB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.005139/0.8011, allocations: 2.119 MB / 0.748 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.8012, allocations: 64 kB / 0.7481 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007948/0.802, allocations: 0.61 MB / 0.7486 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.8021, allocations: 37.7 kB / 0.7487 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.8024, allocations: 428.1 kB / 0.7491 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.8026, allocations: 279.9 kB / 0.7494 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.8027, allocations: 16 kB / 0.7494 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8028, allocations: 334 kB / 0.7497 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006934/0.8035, allocations: 337.8 kB / 0.75 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/0.8043, allocations: 414.9 kB / 0.7504 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/0.805, allocations: 358.9 kB / 0.7508 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.805, allocations: 7.938 kB / 0.7508 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00302/0.8081, allocations: 1.33 MB / 0.7521 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.8081, allocations: 6.5 kB / 0.7521 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.8081, allocations: 4.797 kB / 0.7521 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008589/0.809, allocations: 286.4 kB / 0.7523 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/0.8099, allocations: 203.8 kB / 0.7525 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005802/0.8157, allocations: 5.044 MB / 0.7575 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009273/0.8167, allocations: 111.2 kB / 0.7576 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.8168, allocations: 47.98 kB / 0.7576 GB, free: 3.488 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.8173, allocations: 218.1 kB / 0.7578 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.8174, allocations: 78.97 kB / 0.7579 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004384/0.8218, allocations: 1.934 MB / 0.7598 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.8219, allocations: 12 kB / 0.7598 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8219, allocations: 0 / 0.7598 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.8219, allocations: 7.922 kB / 0.7598 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/0.8268, allocations: 2.542 MB / 0.7623 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8268, allocations: 4.031 kB / 0.7623 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009003/0.8277, allocations: 191.8 kB / 0.7625 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008079/0.8286, allocations: 294.3 kB / 0.7628 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/0.8287, allocations: 35.98 kB / 0.7628 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007403/0.8361, allocations: 5.044 MB / 0.7677 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.8361, allocations: 0 / 0.7677 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.8407, allocations: 1.827 MB / 0.7695 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006647/0.8414, allocations: 235.8 kB / 0.7697 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.8417, allocations: 24.31 kB / 0.7697 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007566/0.8425, allocations: 71.84 kB / 0.7698 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.8427, allocations: 72.56 kB / 0.7699 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.8428, allocations: 51.97 kB / 0.7699 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007176/0.8435, allocations: 439 kB / 0.7704 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8435, allocations: 0 / 0.7704 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002277/0.8458, allocations: 471.1 kB / 0.7708 GB, free: 5.383 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (76): * Single equations (assignments): 73 * 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 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001463/0.8473, allocations: 0.5923 MB / 0.7714 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002968/0.8502, allocations: 1.318 MB / 0.7727 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.8503, allocations: 0 / 0.7727 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.8522, allocations: 0.9646 MB / 0.7736 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.8537, allocations: 224.7 kB / 0.7738 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.8589, allocations: 2.623 MB / 0.7764 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007477/0.8596, allocations: 1.013 MB / 0.7774 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0016/0.8613, allocations: 0.6169 MB / 0.778 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/0.8617, allocations: 131.3 kB / 0.7781 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/0.8618, allocations: 0 / 0.7781 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of Templates: time 0.03509/0.8969, allocations: 17.85 MB / 0.7955 GB, free: 12.01 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches