Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 106.3 kB / 16.4 MB, free: 6.496 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.001897/0.001897, allocations: 189.2 kB / 17.34 MB, free: 5.758 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7746/0.7746, allocations: 97.64 MB / 388.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 79.38 kB / 0.5268 GB, free: 38.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1028, allocations: 69.23 MB / 0.5944 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5154/0.6181, allocations: 202.4 MB / 0.792 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.6311, allocations: 14.88 MB / 0.8066 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.6322, allocations: 45.44 kB / 0.8066 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.6335, allocations: 0.517 MB / 0.8071 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003317/0.6368, allocations: 1.353 MB / 0.8084 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.6403, allocations: 1.398 MB / 0.8098 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.642, allocations: 1.391 MB / 0.8112 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.6424, allocations: 166.7 kB / 0.8113 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.6442, allocations: 1.104 MB / 0.8124 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.6447, allocations: 0.5086 MB / 0.8129 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.6448, allocations: 78.09 kB / 0.813 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004291/0.6491, allocations: 2.509 MB / 0.8154 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.6493, allocations: 209.2 kB / 0.8156 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004197/0.6497, allocations: 0.5008 MB / 0.8161 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.6526, allocations: 1.897 MB / 0.818 GB, free: 320 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6526, allocations: 0 / 0.818 GB, free: 320 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6526, allocations: 3.875 kB / 0.818 GB, free: 320 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.6526, allocations: 0 / 0.818 GB, free: 320 kB / 0.5919 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.002748/0.6554, allocations: 1.587 MB / 0.8195 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.6554, allocations: 8.906 kB / 0.8195 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.6572, allocations: 251.4 kB / 0.8198 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.6585, allocations: 0.7942 MB / 0.8205 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.6588, allocations: 183.7 kB / 0.8207 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.6589, allocations: 83.17 kB / 0.8208 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.6603, allocations: 0.8181 MB / 0.8216 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.6603, allocations: 5.375 kB / 0.8216 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.6604, allocations: 27.97 kB / 0.8216 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.6604, allocations: 16 kB / 0.8216 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.6618, allocations: 0.6464 MB / 0.8223 GB, free: 14.81 MB / 0.6075 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.004257/0.666, allocations: 3.234 MB / 0.8254 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.6673, allocations: 0.556 MB / 0.826 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.6679, allocations: 324.9 kB / 0.8263 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/0.6686, allocations: 0.898 MB / 0.8272 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.6687, allocations: 39.73 kB / 0.8272 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.505e-06/0.6687, allocations: 3.969 kB / 0.8272 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.004827/0.6735, allocations: 1.682 MB / 0.8288 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.6735, allocations: 58.12 kB / 0.8289 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007842/0.6743, allocations: 0.6623 MB / 0.8296 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.6744, allocations: 36.08 kB / 0.8296 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.6747, allocations: 447.6 kB / 0.83 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.6749, allocations: 209.6 kB / 0.8302 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.6751, allocations: 121.1 kB / 0.8303 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6753, allocations: 323.1 kB / 0.8306 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/0.6759, allocations: 259.5 kB / 0.8309 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.6765, allocations: 260.3 kB / 0.8311 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.6777, allocations: 0.5236 MB / 0.8316 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6777, allocations: 0 / 0.8316 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002749/0.6804, allocations: 1.01 MB / 0.8326 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.6804, allocations: 5.25 kB / 0.8326 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.6804, allocations: 4.031 kB / 0.8326 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007869/0.6812, allocations: 228.7 kB / 0.8329 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.682, allocations: 149.5 kB / 0.833 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006409/0.6884, allocations: 5.097 MB / 0.838 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/0.689, allocations: 70.83 kB / 0.838 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.258e-05/0.6891, allocations: 40.86 kB / 0.8381 GB, free: 6.203 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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.0003676/0.6895, allocations: 197.2 kB / 0.8383 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.6897, allocations: 93.11 kB / 0.8384 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003644/0.6933, allocations: 1.409 MB / 0.8397 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6933, allocations: 8.5 kB / 0.8397 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.6933, allocations: 10.75 kB / 0.8398 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.6933, allocations: 3.984 kB / 0.8398 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004684/0.698, allocations: 2.084 MB / 0.8418 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.698, allocations: 1.25 kB / 0.8418 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008255/0.6989, allocations: 146.2 kB / 0.8419 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008029/0.6997, allocations: 230.8 kB / 0.8422 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/0.6997, allocations: 26.38 kB / 0.8422 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006478/0.7062, allocations: 5.098 MB / 0.8472 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7062, allocations: 9.531 kB / 0.8472 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.7098, allocations: 1.417 MB / 0.8485 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/0.7102, allocations: 217.9 kB / 0.8488 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.7103, allocations: 17.59 kB / 0.8488 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/0.7108, allocations: 34.97 kB / 0.8488 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.711, allocations: 60.92 kB / 0.8489 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.711, allocations: 30.45 kB / 0.8489 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006054/0.7116, allocations: 484.4 kB / 0.8494 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7116, allocations: 0 / 0.8494 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001089/0.7127, allocations: 375.5 kB / 0.8497 GB, free: 13.51 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * 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.0009136/0.7136, allocations: 0.4942 MB / 0.8502 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0026/0.7162, allocations: 1.036 MB / 0.8512 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7163, allocations: 0 / 0.8512 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.718, allocations: 0.7773 MB / 0.852 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.7192, allocations: 218.5 kB / 0.8522 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.7228, allocations: 1.853 MB / 0.854 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007101/0.7235, allocations: 1.005 MB / 0.855 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001047/0.7246, allocations: 446.8 kB / 0.8554 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.7249, allocations: 107.4 kB / 0.8555 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of SimCode: time 8.81e-07/0.7249, allocations: 4 kB / 0.8555 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of Templates: time 0.03188/0.7568, allocations: 16.07 MB / 0.8712 GB, free: 7.945 MB / 0.6387 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches