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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 108 kB / 15.61 MB, free: 152 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.002395/0.002395, allocations: 195.8 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.501/1.501, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7422/0.7422, allocations: 93.72 MB / 384.1 MB, free: 6.984 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 82.03 kB / 463.5 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 68.27 MB / 0.5193 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4563/0.5886, allocations: 201.9 MB / 0.7164 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.6056, allocations: 14.86 MB / 0.7309 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000972/0.6067, allocations: 47.69 kB / 0.731 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.6082, allocations: 0.5162 MB / 0.7315 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.6115, allocations: 1.325 MB / 0.7328 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.6151, allocations: 1.387 MB / 0.7341 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.6171, allocations: 1.382 MB / 0.7355 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.6175, allocations: 270.2 kB / 0.7357 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.6195, allocations: 1.067 MB / 0.7368 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005777/0.6201, allocations: 0.5092 MB / 0.7373 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.6202, allocations: 76 kB / 0.7374 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004857/0.6251, allocations: 2.465 MB / 0.7398 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.6253, allocations: 207.1 kB / 0.74 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.6258, allocations: 0.5011 MB / 0.7405 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.6291, allocations: 1.854 MB / 0.7423 GB, free: 6.281 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6291, allocations: 0 / 0.7423 GB, free: 6.281 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6291, allocations: 0 / 0.7423 GB, free: 6.281 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.6291, allocations: 0 / 0.7423 GB, free: 6.281 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.002741/0.6319, allocations: 1.543 MB / 0.7438 GB, free: 4.688 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6319, allocations: 8.031 kB / 0.7438 GB, free: 4.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.6321, allocations: 118.5 kB / 0.7439 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.6338, allocations: 242.9 kB / 0.7441 GB, free: 4.316 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.635, allocations: 0.7184 MB / 0.7448 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.6352, allocations: 180.8 kB / 0.745 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.6353, allocations: 79.94 kB / 0.7451 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.637, allocations: 0.8257 MB / 0.7459 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.637, allocations: 0 / 0.7459 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.6371, allocations: 28 kB / 0.7459 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.6371, allocations: 16 kB / 0.7459 GB, free: 2.391 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.6386, allocations: 0.648 MB / 0.7466 GB, free: 1.746 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.00442/0.643, allocations: 3.259 MB / 0.7497 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.6445, allocations: 0.595 MB / 0.7503 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007398/0.6452, allocations: 354.3 kB / 0.7507 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/0.6459, allocations: 0.899 MB / 0.7515 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.646, allocations: 43.06 kB / 0.7516 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 1.853e-06/0.646, allocations: 4 kB / 0.7516 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.004814/0.6508, allocations: 1.674 MB / 0.7532 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.6509, allocations: 59.97 kB / 0.7533 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008539/0.6517, allocations: 0.6651 MB / 0.7539 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.6518, allocations: 37.7 kB / 0.754 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.6522, allocations: 440.2 kB / 0.7544 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.6524, allocations: 197.1 kB / 0.7546 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.6527, allocations: 110.2 kB / 0.7547 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6528, allocations: 330 kB / 0.755 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.6535, allocations: 249 kB / 0.7552 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.6541, allocations: 268.9 kB / 0.7555 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.6553, allocations: 0.5194 MB / 0.756 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6553, allocations: 0 / 0.756 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002753/0.6581, allocations: 1.019 MB / 0.757 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6581, allocations: 4 kB / 0.757 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6581, allocations: 0 / 0.757 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008187/0.659, allocations: 230.3 kB / 0.7572 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/0.6597, allocations: 154.8 kB / 0.7574 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006211/0.666, allocations: 5.091 MB / 0.7623 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.6665, allocations: 67.45 kB / 0.7624 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/0.6666, allocations: 35.98 kB / 0.7624 GB, free: 424 kB / 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.0003749/0.667, allocations: 209.6 kB / 0.7626 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.6672, allocations: 86.97 kB / 0.7627 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.6708, allocations: 1.414 MB / 0.7641 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.6708, allocations: 15.88 kB / 0.7641 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6709, allocations: 4 kB / 0.7641 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.6709, allocations: 0.875 kB / 0.7641 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.6751, allocations: 2.105 MB / 0.7662 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6751, allocations: 0 / 0.7662 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.6759, allocations: 135.8 kB / 0.7663 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000732/0.6766, allocations: 242.4 kB / 0.7665 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.6767, allocations: 27.92 kB / 0.7665 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005856/0.6826, allocations: 5.102 MB / 0.7715 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.6826, allocations: 4 kB / 0.7715 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.686, allocations: 1.421 MB / 0.7729 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.6863, allocations: 211.8 kB / 0.7731 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6864, allocations: 23.84 kB / 0.7731 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.6869, allocations: 43.95 kB / 0.7732 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.687, allocations: 52.5 kB / 0.7732 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.6871, allocations: 31.98 kB / 0.7733 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006977/0.6878, allocations: 486.9 kB / 0.7737 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6878, allocations: 4 kB / 0.7737 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001001/0.6888, allocations: 367.3 kB / 0.7741 GB, free: 3.852 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.004513/0.6933, allocations: 2.343 MB / 0.7764 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002651/0.696, allocations: 1.093 MB / 0.7774 GB, free: 348 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.696, allocations: 0 / 0.7774 GB, free: 348 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.6977, allocations: 0.796 MB / 0.7782 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.6987, allocations: 208.8 kB / 0.7784 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.7118, allocations: 7.374 MB / 0.7856 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.7126, allocations: 0.9971 MB / 0.7866 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001112/0.7137, allocations: 448.1 kB / 0.787 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/0.7143, allocations: 411.3 kB / 0.7874 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of SimCode: time 2.284e-06/0.7144, allocations: 0 / 0.7874 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.436/2.15, allocations: 24.69 MB / 0.8115 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/13.77, allocations: 9.672 kB / 0.8115 GB, free: 13.41 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > 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