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.0077/0.0077, allocations: 102.4 kB / 15.73 MB, free: 6.023 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.001985/0.001985, allocations: 196 kB / 16.67 MB, free: 5.938 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8165/0.8165, allocations: 93.71 MB / 384.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 83.86 kB / 0.5199 GB, free: 1.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4013, allocations: 68.26 MB / 0.5866 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.6434/1.045, allocations: 201.9 MB / 0.7837 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.015/1.06, allocations: 14.87 MB / 0.7982 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/1.061, allocations: 47 kB / 0.7983 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/1.063, allocations: 0.5143 MB / 0.7988 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003773/1.066, allocations: 1.322 MB / 0.8001 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/1.07, allocations: 1.388 MB / 0.8014 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00175/1.072, allocations: 1.394 MB / 0.8028 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/1.073, allocations: 262.1 kB / 0.803 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/1.075, allocations: 1.077 MB / 0.8041 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/1.075, allocations: 0.5129 MB / 0.8046 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/1.076, allocations: 77.25 kB / 0.8047 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00552/1.081, allocations: 2.503 MB / 0.8071 GB, free: 292 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002973/1.081, allocations: 203.8 kB / 0.8073 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006574/1.082, allocations: 0.5018 MB / 0.8078 GB, free: 76 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004214/1.086, allocations: 1.9 MB / 0.8097 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.086, allocations: 2.906 kB / 0.8097 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/1.086, allocations: 0 / 0.8097 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.519e-05/1.086, allocations: 0 / 0.8097 GB, free: 15.78 MB / 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.002935/1.089, allocations: 1.59 MB / 0.8112 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.089, allocations: 8.906 kB / 0.8112 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/1.089, allocations: 123.4 kB / 0.8113 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/1.091, allocations: 246.2 kB / 0.8116 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/1.093, allocations: 0.7938 MB / 0.8123 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/1.093, allocations: 188.1 kB / 0.8125 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/1.093, allocations: 80.73 kB / 0.8126 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/1.095, allocations: 0.8192 MB / 0.8134 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/1.095, allocations: 0 / 0.8134 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/1.095, allocations: 33.62 kB / 0.8134 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/1.095, allocations: 17.12 kB / 0.8135 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/1.096, allocations: 0.6474 MB / 0.8141 GB, free: 14.01 MB / 0.5919 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.005045/1.101, allocations: 3.231 MB / 0.8172 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/1.103, allocations: 0.5915 MB / 0.8178 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007466/1.104, allocations: 357.2 kB / 0.8182 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008132/1.104, allocations: 0.9012 MB / 0.819 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/1.105, allocations: 38.31 kB / 0.8191 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.404e-06/1.105, allocations: 0 / 0.8191 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.005296/1.11, allocations: 1.681 MB / 0.8207 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/1.11, allocations: 60.16 kB / 0.8208 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009709/1.111, allocations: 0.664 MB / 0.8214 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/1.111, allocations: 41.11 kB / 0.8215 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/1.111, allocations: 439 kB / 0.8219 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/1.112, allocations: 211.8 kB / 0.8221 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/1.112, allocations: 114 kB / 0.8222 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.112, allocations: 330.8 kB / 0.8225 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/1.113, allocations: 258.5 kB / 0.8228 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/1.113, allocations: 256.7 kB / 0.823 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/1.115, allocations: 0.5266 MB / 0.8235 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.115, allocations: 0 / 0.8235 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002899/1.118, allocations: 1.02 MB / 0.8245 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.118, allocations: 5.156 kB / 0.8245 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/1.118, allocations: 1.641 kB / 0.8245 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008698/1.118, allocations: 232.6 kB / 0.8247 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/1.119, allocations: 148.1 kB / 0.8249 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006622/1.126, allocations: 5.097 MB / 0.8299 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/1.127, allocations: 71.62 kB / 0.8299 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/1.127, allocations: 39.98 kB / 0.83 GB, free: 1.32 MB / 0.5919 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.0004207/1.127, allocations: 208.1 kB / 0.8302 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/1.127, allocations: 87.39 kB / 0.8302 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003792/1.131, allocations: 1.418 MB / 0.8316 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.131, allocations: 11.94 kB / 0.8316 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.131, allocations: 0 / 0.8316 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.131, allocations: 7.969 kB / 0.8316 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/1.136, allocations: 2.098 MB / 0.8337 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.136, allocations: 4.031 kB / 0.8337 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/1.137, allocations: 138.1 kB / 0.8338 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007967/1.138, allocations: 230.3 kB / 0.834 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/1.138, allocations: 27.02 kB / 0.8341 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006314/1.144, allocations: 5.108 MB / 0.8391 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.144, allocations: 0 / 0.8391 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003715/1.148, allocations: 1.423 MB / 0.8405 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/1.148, allocations: 216.3 kB / 0.8407 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.148, allocations: 19.94 kB / 0.8407 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/1.149, allocations: 39.97 kB / 0.8407 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.149, allocations: 52.48 kB / 0.8408 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/1.149, allocations: 31.98 kB / 0.8408 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000689/1.15, allocations: 486.2 kB / 0.8413 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/1.15, allocations: 0 / 0.8413 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001221/1.151, allocations: 375 kB / 0.8416 GB, free: 4.855 MB / 0.6075 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.004974/1.156, allocations: 2.344 MB / 0.8439 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002658/1.159, allocations: 1.073 MB / 0.845 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.159, allocations: 0 / 0.845 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/1.16, allocations: 0.8008 MB / 0.8457 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.161, allocations: 208.1 kB / 0.8459 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/1.175, allocations: 7.102 MB / 0.8529 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/1.176, allocations: 1.001 MB / 0.8538 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00105/1.177, allocations: 451.1 kB / 0.8543 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/1.178, allocations: 411.2 kB / 0.8547 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of SimCode: time 8.52e-07/1.178, allocations: 0 / 0.8547 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06753/1.245, allocations: 24.97 MB / 0.8791 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.64, allocations: 13.34 kB / 0.8791 GB, free: 14.63 MB / 0.6544 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