Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.001361/0.001361, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001543/0.001543, allocations: 186.7 kB / 16.25 MB, free: 6.645 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7028/0.7028, allocations: 91.2 MB / 381.3 MB, free: 9.52 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 81.72 kB / 459.8 MB, free: 23.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1156, allocations: 67.69 MB / 0.5151 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4406/0.5562, allocations: 200 MB / 0.7105 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.573, allocations: 14.83 MB / 0.725 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.5747, allocations: 55.62 kB / 0.725 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.5767, allocations: 457.6 kB / 0.7254 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.5808, allocations: 1.202 MB / 0.7266 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003711/0.5846, allocations: 1.279 MB / 0.7279 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.5865, allocations: 1.339 MB / 0.7292 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.5869, allocations: 265.8 kB / 0.7294 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.589, allocations: 1.102 MB / 0.7305 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.5896, allocations: 0.5014 MB / 0.731 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.5897, allocations: 76 kB / 0.7311 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.5946, allocations: 2.687 MB / 0.7337 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.5948, allocations: 203.1 kB / 0.7339 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005435/0.5954, allocations: 0.5088 MB / 0.7344 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.5988, allocations: 1.85 MB / 0.7362 GB, free: 13.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5989, allocations: 4 kB / 0.7362 GB, free: 13.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5989, allocations: 0 / 0.7362 GB, free: 13.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.5989, allocations: 0 / 0.7362 GB, free: 13.32 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.002804/0.6017, allocations: 1.527 MB / 0.7377 GB, free: 11.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.6018, allocations: 8.031 kB / 0.7377 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.6035, allocations: 242.4 kB / 0.7379 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.6047, allocations: 0.701 MB / 0.7386 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.605, allocations: 180.8 kB / 0.7388 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.6051, allocations: 75.91 kB / 0.7388 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.6068, allocations: 0.8297 MB / 0.7397 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.6068, allocations: 0 / 0.7397 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.6069, allocations: 24 kB / 0.7397 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.6069, allocations: 20 kB / 0.7397 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.6084, allocations: 0.6441 MB / 0.7403 GB, free: 8.941 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.004498/0.6129, allocations: 3.235 MB / 0.7435 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.6143, allocations: 0.5948 MB / 0.7441 GB, free: 4.816 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/0.615, allocations: 346.4 kB / 0.7444 GB, free: 4.477 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006836/0.6157, allocations: 0.9069 MB / 0.7453 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.6157, allocations: 35.12 kB / 0.7453 GB, free: 3.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.374e-06/0.6157, allocations: 0 / 0.7453 GB, free: 3.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.004845/0.6206, allocations: 1.69 MB / 0.747 GB, free: 1.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.6206, allocations: 59.97 kB / 0.747 GB, free: 1.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.6215, allocations: 0.6455 MB / 0.7477 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/0.6215, allocations: 37.7 kB / 0.7477 GB, free: 0.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.6218, allocations: 420.2 kB / 0.7481 GB, free: 388 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.622, allocations: 201.1 kB / 0.7483 GB, free: 184 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.6222, allocations: 110.2 kB / 0.7484 GB, free: 68 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.6224, allocations: 326 kB / 0.7487 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006405/0.6231, allocations: 257 kB / 0.7489 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000619/0.6237, allocations: 256.9 kB / 0.7492 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.6249, allocations: 0.5233 MB / 0.7497 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.6249, allocations: 4 kB / 0.7497 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002739/0.6277, allocations: 1.011 MB / 0.7507 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.6277, allocations: 8 kB / 0.7507 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.6277, allocations: 0 / 0.7507 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007994/0.6286, allocations: 234.3 kB / 0.7509 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/0.6293, allocations: 151.8 kB / 0.7511 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/0.6351, allocations: 5.086 MB / 0.756 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.6358, allocations: 83.44 kB / 0.7561 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.979e-05/0.6359, allocations: 43.92 kB / 0.7562 GB, free: 7.648 MB / 0.5606 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.0003666/0.6363, allocations: 213.6 kB / 0.7564 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.6364, allocations: 78.97 kB / 0.7564 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/0.6401, allocations: 1.423 MB / 0.7578 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.6401, allocations: 4 kB / 0.7578 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.6401, allocations: 7.938 kB / 0.7578 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.6402, allocations: 3.984 kB / 0.7578 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004284/0.6444, allocations: 2.09 MB / 0.7599 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6445, allocations: 3.938 kB / 0.7599 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007763/0.6453, allocations: 135.8 kB / 0.76 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007534/0.646, allocations: 238.4 kB / 0.7602 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.6461, allocations: 27.98 kB / 0.7603 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005737/0.6518, allocations: 5.099 MB / 0.7653 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6519, allocations: 4 kB / 0.7653 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.6553, allocations: 1.409 MB / 0.7666 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.6556, allocations: 219.8 kB / 0.7668 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.6557, allocations: 19.94 kB / 0.7669 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.6562, allocations: 47.86 kB / 0.7669 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.6564, allocations: 60.48 kB / 0.767 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.6565, allocations: 32.86 kB / 0.767 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005592/0.657, allocations: 467 kB / 0.7674 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.657, allocations: 0 / 0.7674 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001061/0.6581, allocations: 371.3 kB / 0.7678 GB, free: 11.12 MB / 0.5762 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.0009563/0.6591, allocations: 0.4886 MB / 0.7683 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002554/0.6616, allocations: 1.093 MB / 0.7693 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6617, allocations: 0 / 0.7693 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.6633, allocations: 0.7961 MB / 0.7701 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.6644, allocations: 208.6 kB / 0.7703 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.6679, allocations: 2.185 MB / 0.7724 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.6685, allocations: 0.9931 MB / 0.7734 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001146/0.6696, allocations: 446 kB / 0.7738 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.67, allocations: 107.4 kB / 0.7739 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of SimCode: time 2.014e-06/0.67, allocations: 0 / 0.7739 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of Templates: time 0.02743/0.6974, allocations: 15.86 MB / 0.7894 GB, free: 4.945 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches