Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.001462/0.001462, 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.001785/0.001785, allocations: 197 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 71.83 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.648/0.6493, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07289/0.7222, allocations: 77.18 MB / 1.093 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0254/0.7477, allocations: 18.87 MB / 1.111 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004025/0.7518, allocations: 111.4 kB / 1.111 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00417/0.756, allocations: 1.254 MB / 1.113 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.7672, allocations: 3.627 MB / 1.116 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005542/0.7728, allocations: 2.073 MB / 1.118 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00858/0.7814, allocations: 6.669 MB / 1.125 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003438/0.7848, allocations: 2.089 MB / 1.127 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005378/0.7902, allocations: 2.297 MB / 1.129 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.7933, allocations: 1.746 MB / 1.131 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006761/0.794, allocations: 203.9 kB / 1.131 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/0.7984, allocations: 1.614 MB / 1.132 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008717/0.7993, allocations: 0.5294 MB / 1.133 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.8016, allocations: 1.256 MB / 1.134 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006406/0.8081, allocations: 3.7 MB / 1.138 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8081, allocations: 0 / 1.138 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8081, allocations: 0 / 1.138 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000104/0.8082, allocations: 0 / 1.138 GB, free: 6.859 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005678/0.8139, allocations: 2.719 MB / 1.14 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.814, allocations: 8.031 kB / 1.14 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003561/0.8143, allocations: 198.8 kB / 1.141 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008908/0.8152, allocations: 266 kB / 1.141 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/0.8186, allocations: 1.904 MB / 1.143 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/0.8187, allocations: 110.7 kB / 1.143 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.8189, allocations: 143.9 kB / 1.143 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.8215, allocations: 1.516 MB / 1.144 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.8216, allocations: 7.938 kB / 1.144 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.8217, allocations: 56 kB / 1.144 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.8218, allocations: 43.94 kB / 1.145 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.8242, allocations: 1.13 MB / 1.146 GB, free: 14.56 MB / 0.9044 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.01038/0.8346, allocations: 7.653 MB / 1.153 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009859/0.8356, allocations: 480.5 kB / 1.154 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/0.8362, allocations: 330.3 kB / 1.154 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000917/0.8372, allocations: 1.156 MB / 1.155 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.8372, allocations: 47.16 kB / 1.155 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 2.715e-06/0.8372, allocations: 0 / 1.155 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.002327/0.8396, allocations: 0.9573 MB / 1.156 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.8396, allocations: 59.97 kB / 1.156 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.8422, allocations: 1.787 MB / 1.158 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.597e-05/0.8423, allocations: 41.7 kB / 1.158 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007868/0.8431, allocations: 0.9317 MB / 1.159 GB, free: 216 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.8434, allocations: 224.9 kB / 1.159 GB, free: 15.99 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/0.8437, allocations: 222.7 kB / 1.159 GB, free: 15.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8438, allocations: 349.9 kB / 1.159 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.8445, allocations: 330.4 kB / 1.16 GB, free: 15.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009426/0.8455, allocations: 0.6899 MB / 1.16 GB, free: 14.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.8471, allocations: 1.012 MB / 1.161 GB, free: 13.1 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.8471, allocations: 8 kB / 1.161 GB, free: 13.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002469/0.8496, allocations: 1.21 MB / 1.163 GB, free: 11.87 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.8496, allocations: 10.5 kB / 1.163 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.8496, allocations: 15.94 kB / 1.163 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.709e-05/0.8497, allocations: 16 kB / 1.163 GB, free: 11.83 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.8507, allocations: 296.2 kB / 1.163 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.939e-05/0.8508, allocations: 19.94 kB / 1.163 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.8523, allocations: 159.6 kB / 1.163 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.8524, allocations: 55.92 kB / 1.163 GB, free: 11.31 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008007/0.8532, allocations: 445.4 kB / 1.164 GB, free: 10.87 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004849/0.8537, allocations: 197.6 kB / 1.164 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.8556, allocations: 0.8665 MB / 1.165 GB, free: 9.805 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.8557, allocations: 4 kB / 1.165 GB, free: 9.801 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.8557, allocations: 0 / 1.165 GB, free: 9.801 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/0.8572, allocations: 0.7918 MB / 1.165 GB, free: 8.961 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.8619, allocations: 2.459 MB / 1.168 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.862, allocations: 4 kB / 1.168 GB, free: 6.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.8628, allocations: 175.8 kB / 1.168 GB, free: 6.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.8628, allocations: 16.19 kB / 1.168 GB, free: 6.215 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.8628, allocations: 12 kB / 1.168 GB, free: 6.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.8629, allocations: 11.94 kB / 1.168 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8629, allocations: 0 / 1.168 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.8654, allocations: 1.335 MB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/0.8662, allocations: 370.5 kB / 1.17 GB, free: 4.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/0.8666, allocations: 12 kB / 1.17 GB, free: 4.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.8678, allocations: 67.89 kB / 1.17 GB, free: 4.352 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.8679, allocations: 48.5 kB / 1.17 GB, free: 4.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.572e-05/0.868, allocations: 39.97 kB / 1.17 GB, free: 4.266 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001965/0.87, allocations: 1.243 MB / 1.171 GB, free: 3.004 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.87, allocations: 0 / 1.171 GB, free: 3.004 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001864/0.8719, allocations: 0.6474 MB / 1.172 GB, free: 2.355 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003897/0.8758, allocations: 2.391 MB / 1.174 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.8779, allocations: 0.8974 MB / 1.175 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8779, allocations: 0 / 1.175 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.8786, allocations: 360.4 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005656/0.8843, allocations: 1.203 MB / 1.176 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/0.9049, allocations: 14.24 MB / 1.19 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.9061, allocations: 1.401 MB / 1.192 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001759/0.9079, allocations: 379.4 kB / 1.192 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.909, allocations: 0.7687 MB / 1.193 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of SimCode: time 1.533e-06/0.909, allocations: 0 / 1.193 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.011, allocations: 57.31 MB / 1.249 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.928/9.939, allocations: 9.812 kB / 1.249 GB, free: 2.918 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches