Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.001272/0.001272, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.00133/0.00133, allocations: 198.6 kB / 16.26 MB, free: 6.633 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.209/1.209, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6155/0.6155, allocations: 91.2 MB / 381.3 MB, free: 9.547 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 76.64 kB / 459.9 MB, free: 23.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 67.7 MB / 0.5153 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.3963/0.5005, allocations: 212.5 MB / 0.7228 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.5176, allocations: 17.38 MB / 0.7398 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.5189, allocations: 55.62 kB / 0.7398 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.5205, allocations: 0.5284 MB / 0.7404 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.5245, allocations: 1.583 MB / 0.7419 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.5284, allocations: 1.524 MB / 0.7434 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001892/0.5303, allocations: 1.666 MB / 0.745 GB, free: 4.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.5307, allocations: 294.8 kB / 0.7453 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.5328, allocations: 1.214 MB / 0.7465 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007577/0.5335, allocations: 0.6258 MB / 0.7471 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.5337, allocations: 96 kB / 0.7472 GB, free: 2.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005743/0.5395, allocations: 3.705 MB / 0.7508 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.5397, allocations: 254.9 kB / 0.751 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006523/0.5404, allocations: 0.6138 MB / 0.7516 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.5441, allocations: 2.318 MB / 0.7539 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5441, allocations: 0 / 0.7539 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5441, allocations: 0 / 0.7539 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.875e-05/0.5441, allocations: 4 kB / 0.7539 GB, free: 11.13 MB / 0.5606 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.003924/0.5481, allocations: 1.804 MB / 0.7557 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5481, allocations: 16.02 kB / 0.7557 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.5483, allocations: 144.4 kB / 0.7558 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.5502, allocations: 290 kB / 0.7561 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.5516, allocations: 0.8078 MB / 0.7569 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.5518, allocations: 204.7 kB / 0.7571 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.5519, allocations: 92 kB / 0.7572 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.5537, allocations: 1.005 MB / 0.7582 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.5538, allocations: 4 kB / 0.7582 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.387e-05/0.5539, allocations: 36 kB / 0.7582 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.5539, allocations: 20 kB / 0.7582 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.5554, allocations: 0.7807 MB / 0.759 GB, free: 5.785 MB / 0.5606 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.004546/0.56, allocations: 4.111 MB / 0.763 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.5617, allocations: 0.8589 MB / 0.7638 GB, free: 472 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/0.5625, allocations: 433.3 kB / 0.7642 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007458/0.5632, allocations: 1.303 MB / 0.7655 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.5632, allocations: 43.22 kB / 0.7656 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 1.944e-06/0.5633, allocations: 0 / 0.7656 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.00477/0.568, allocations: 1.915 MB / 0.7674 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.5681, allocations: 64.05 kB / 0.7675 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/0.5689, allocations: 0.7614 MB / 0.7682 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.5689, allocations: 45.7 kB / 0.7683 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.5692, allocations: 0.4884 MB / 0.7688 GB, free: 11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.5694, allocations: 279.9 kB / 0.769 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.5697, allocations: 150.6 kB / 0.7692 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5698, allocations: 337.9 kB / 0.7695 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.5704, allocations: 313.8 kB / 0.7698 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/0.5711, allocations: 387.1 kB / 0.7702 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.5724, allocations: 0.6901 MB / 0.7708 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5724, allocations: 0 / 0.7708 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002785/0.5752, allocations: 1.228 MB / 0.772 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.5752, allocations: 4 kB / 0.772 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.5752, allocations: 4 kB / 0.772 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.576, allocations: 246.4 kB / 0.7723 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/0.5769, allocations: 199.7 kB / 0.7725 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/0.5821, allocations: 5.238 MB / 0.7776 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.5828, allocations: 99.38 kB / 0.7777 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/0.5829, allocations: 55.98 kB / 0.7777 GB, free: 1.316 MB / 0.5762 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 (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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003135/0.5832, allocations: 217.7 kB / 0.7779 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.5833, allocations: 102.8 kB / 0.778 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.5874, allocations: 1.833 MB / 0.7798 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.5874, allocations: 8 kB / 0.7798 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5874, allocations: 4 kB / 0.7798 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.5874, allocations: 11.92 kB / 0.7798 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/0.5918, allocations: 2.484 MB / 0.7823 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.5918, allocations: 7.984 kB / 0.7823 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009474/0.5927, allocations: 199.9 kB / 0.7825 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000687/0.5934, allocations: 251.1 kB / 0.7827 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.741e-05/0.5935, allocations: 35.98 kB / 0.7827 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005175/0.5987, allocations: 5.236 MB / 0.7879 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5987, allocations: 256 / 0.7879 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.6022, allocations: 1.724 MB / 0.7895 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.6025, allocations: 255.7 kB / 0.7898 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.6027, allocations: 20 kB / 0.7898 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.6033, allocations: 55.95 kB / 0.7899 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.6034, allocations: 72.84 kB / 0.7899 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/0.6035, allocations: 47.98 kB / 0.79 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005865/0.6041, allocations: 0.5356 MB / 0.7905 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.753e-06/0.6041, allocations: 4 kB / 0.7905 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001195/0.6053, allocations: 479 kB / 0.791 GB, free: 3.141 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (78): * Single equations (assignments): 75 * 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 {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004756/0.61, allocations: 2.744 MB / 0.7936 GB, free: 360 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00276/0.6128, allocations: 1.278 MB / 0.7949 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6128, allocations: 0 / 0.7949 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.6144, allocations: 0.9041 MB / 0.7958 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.6156, allocations: 261 kB / 0.796 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.6297, allocations: 9.325 MB / 0.8051 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.6303, allocations: 1.068 MB / 0.8062 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001392/0.6317, allocations: 0.6427 MB / 0.8068 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/0.6324, allocations: 0.4992 MB / 0.8073 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.6324, allocations: 0 / 0.8073 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.171/1.804, allocations: 29.95 MB / 0.8365 GB, free: 242 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/1.804, allocations: 272.1 kB / 0.8368 GB, free: 241.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/4.361, allocations: 0 / 0.8368 GB, free: 241.7 MB / 0.6231 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches