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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_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.007141/0.007142, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001417/0.001417, allocations: 198.8 kB / 16.67 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.65/0.65, allocations: 91.2 MB / 381.7 MB, free: 9.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 75.88 kB / 0.5164 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1239, allocations: 67.7 MB / 0.5825 GB, free: 5.73 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4901/0.6141, allocations: 201.8 MB / 0.7796 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.6305, allocations: 14.83 MB / 0.7941 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.6316, allocations: 43.75 kB / 0.7941 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.6334, allocations: 0.5161 MB / 0.7946 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.6377, allocations: 1.306 MB / 0.7959 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004097/0.6418, allocations: 1.393 MB / 0.7973 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001991/0.6438, allocations: 1.347 MB / 0.7986 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000483/0.6443, allocations: 261 kB / 0.7988 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.6466, allocations: 1.078 MB / 0.7999 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007412/0.6473, allocations: 0.4975 MB / 0.8004 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.6475, allocations: 76 kB / 0.8004 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/0.6525, allocations: 2.504 MB / 0.8029 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.6528, allocations: 203.2 kB / 0.8031 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005823/0.6534, allocations: 0.4972 MB / 0.8036 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.657, allocations: 1.874 MB / 0.8054 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.657, allocations: 0 / 0.8054 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.657, allocations: 0 / 0.8054 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.657, allocations: 0 / 0.8054 GB, free: 3.711 MB / 0.6387 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.002429/0.6594, allocations: 1.523 MB / 0.8069 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.6595, allocations: 12.03 kB / 0.8069 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.6596, allocations: 122.5 kB / 0.807 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.6612, allocations: 238.4 kB / 0.8072 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.6624, allocations: 0.7711 MB / 0.808 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.6626, allocations: 184.8 kB / 0.8082 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.6627, allocations: 72 kB / 0.8082 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.6642, allocations: 0.8219 MB / 0.809 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.6642, allocations: 0 / 0.809 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.6643, allocations: 28 kB / 0.8091 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.6643, allocations: 20 kB / 0.8091 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.6656, allocations: 0.6488 MB / 0.8097 GB, free: 15.14 MB / 0.6544 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.003921/0.6695, allocations: 3.213 MB / 0.8129 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.6708, allocations: 0.5918 MB / 0.8134 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.6715, allocations: 362.3 kB / 0.8138 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005207/0.672, allocations: 0.8991 MB / 0.8147 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.672, allocations: 39.12 kB / 0.8147 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 1.843e-06/0.672, allocations: 0 / 0.8147 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.004502/0.6765, allocations: 1.678 MB / 0.8163 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.6766, allocations: 55.97 kB / 0.8164 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006705/0.6773, allocations: 0.6494 MB / 0.817 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.6773, allocations: 37.7 kB / 0.8171 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.6776, allocations: 428.2 kB / 0.8175 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.6777, allocations: 204.9 kB / 0.8177 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.6779, allocations: 114.2 kB / 0.8178 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.678, allocations: 326 kB / 0.8181 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.6786, allocations: 256.9 kB / 0.8183 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.6792, allocations: 260.8 kB / 0.8186 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.6804, allocations: 0.526 MB / 0.8191 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6804, allocations: 0 / 0.8191 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002588/0.683, allocations: 1.012 MB / 0.8201 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.683, allocations: 8 kB / 0.8201 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.683, allocations: 4 kB / 0.8201 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007556/0.6838, allocations: 230.3 kB / 0.8203 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.6845, allocations: 147.8 kB / 0.8204 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/0.69, allocations: 5.092 MB / 0.8254 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.6905, allocations: 63.5 kB / 0.8255 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.6906, allocations: 40.27 kB / 0.8255 GB, free: 13.87 MB / 0.67 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.0003441/0.691, allocations: 201.6 kB / 0.8257 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.6912, allocations: 82.97 kB / 0.8258 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/0.6946, allocations: 1.417 MB / 0.8272 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6947, allocations: 11.94 kB / 0.8272 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.6947, allocations: 4 kB / 0.8272 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.6947, allocations: 3.984 kB / 0.8272 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/0.699, allocations: 2.09 MB / 0.8292 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.699, allocations: 4 kB / 0.8292 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/0.6997, allocations: 135.8 kB / 0.8294 GB, free: 9.801 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007332/0.7005, allocations: 234.5 kB / 0.8296 GB, free: 9.562 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.7005, allocations: 31.92 kB / 0.8296 GB, free: 9.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/0.7063, allocations: 5.104 MB / 0.8346 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7064, allocations: 4 kB / 0.8346 GB, free: 4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003347/0.7097, allocations: 1.406 MB / 0.836 GB, free: 2.555 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.7101, allocations: 211.9 kB / 0.8362 GB, free: 2.328 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.7103, allocations: 20.75 kB / 0.8362 GB, free: 2.309 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.7108, allocations: 35.95 kB / 0.8362 GB, free: 2.273 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.711, allocations: 60.38 kB / 0.8363 GB, free: 2.215 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.711, allocations: 31.98 kB / 0.8363 GB, free: 2.184 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005778/0.7116, allocations: 475 kB / 0.8368 GB, free: 1.723 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7116, allocations: 4 kB / 0.8368 GB, free: 1.719 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001202/0.7128, allocations: 367.3 kB / 0.8371 GB, free: 1.359 MB / 0.67 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.2616/0.9745, allocations: 2.33 MB / 0.8394 GB, free: 226.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002592/0.9771, allocations: 1.068 MB / 0.8404 GB, free: 226.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.9771, allocations: 1 kB / 0.8404 GB, free: 226.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.9787, allocations: 0.7899 MB / 0.8412 GB, free: 226 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.9798, allocations: 209.7 kB / 0.8414 GB, free: 226 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.9919, allocations: 6.997 MB / 0.8483 GB, free: 223.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.9924, allocations: 0.9907 MB / 0.8492 GB, free: 222.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001005/0.9934, allocations: 449 kB / 0.8496 GB, free: 222.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/0.9939, allocations: 405.9 kB / 0.85 GB, free: 222.3 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/0.9939, allocations: 0 / 0.85 GB, free: 222.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0985/1.092, allocations: 25.1 MB / 0.8745 GB, free: 214.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.55, allocations: 7.734 kB / 0.8746 GB, free: 214.4 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches