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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001347/0.001347, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001555/0.001555, allocations: 190.9 kB / 16.14 MB, free: 6.711 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5856/0.5872, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06632/0.6535, allocations: 76.68 MB / 1.092 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02286/0.6764, allocations: 18.97 MB / 1.11 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003096/0.6796, allocations: 99.38 kB / 1.11 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003064/0.6827, allocations: 1.033 MB / 1.111 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008057/0.6908, allocations: 3.368 MB / 1.115 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00445/0.6952, allocations: 1.896 MB / 1.116 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.7064, allocations: 8.886 MB / 1.125 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004931/0.7113, allocations: 1.731 MB / 1.127 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005665/0.717, allocations: 1.94 MB / 1.129 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.7205, allocations: 1.758 MB / 1.13 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007173/0.7212, allocations: 96 kB / 1.13 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004348/0.7256, allocations: 1.469 MB / 1.132 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008543/0.7265, allocations: 458 kB / 1.132 GB, free: 12 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.7289, allocations: 1.142 MB / 1.133 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005366/0.7343, allocations: 3.638 MB / 1.137 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7343, allocations: 0 / 1.137 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.31e-07/0.7343, allocations: 0 / 1.137 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.305e-05/0.7343, allocations: 0 / 1.137 GB, free: 7.203 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.003956/0.7383, allocations: 2.715 MB / 1.14 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7384, allocations: 8.031 kB / 1.14 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000207/0.7386, allocations: 202.8 kB / 1.14 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000626/0.7392, allocations: 266 kB / 1.14 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.7418, allocations: 1.984 MB / 1.142 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.7419, allocations: 110.7 kB / 1.142 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.7421, allocations: 143.9 kB / 1.142 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.7443, allocations: 1.52 MB / 1.144 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.7444, allocations: 7.906 kB / 1.144 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.7445, allocations: 56 kB / 1.144 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/0.7446, allocations: 39.98 kB / 1.144 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.7465, allocations: 1.126 MB / 1.145 GB, free: 14.83 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.006953/0.7535, allocations: 7.579 MB / 1.152 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/0.7544, allocations: 472.6 kB / 1.153 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.755, allocations: 334.3 kB / 1.153 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007528/0.7557, allocations: 1.148 MB / 1.154 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.7558, allocations: 43.12 kB / 1.154 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 2.485e-06/0.7558, allocations: 0 / 1.154 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.002024/0.7578, allocations: 0.9613 MB / 1.155 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.7579, allocations: 63.97 kB / 1.155 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.7598, allocations: 1.748 MB / 1.157 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.7599, allocations: 41.7 kB / 1.157 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/0.7605, allocations: 0.9356 MB / 1.158 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.7607, allocations: 224.8 kB / 1.158 GB, free: 380 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.761, allocations: 222.7 kB / 1.158 GB, free: 152 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7611, allocations: 361.9 kB / 1.159 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/0.7618, allocations: 322.4 kB / 1.159 GB, free: 15.47 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008744/0.7626, allocations: 0.6938 MB / 1.16 GB, free: 14.63 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.7641, allocations: 1.008 MB / 1.161 GB, free: 13.47 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7641, allocations: 0 / 1.161 GB, free: 13.47 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001978/0.7661, allocations: 1.222 MB / 1.162 GB, free: 12.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.7661, allocations: 15.98 kB / 1.162 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.7661, allocations: 8 kB / 1.162 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.7662, allocations: 16 kB / 1.162 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/0.7671, allocations: 287.5 kB / 1.162 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/0.7671, allocations: 19.94 kB / 1.162 GB, free: 11.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.7684, allocations: 245.5 kB / 1.162 GB, free: 11.67 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.7685, allocations: 51.98 kB / 1.162 GB, free: 11.62 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.0005968/0.7691, allocations: 437.4 kB / 1.163 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.7694, allocations: 193.7 kB / 1.163 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.771, allocations: 0.8734 MB / 1.164 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.771, allocations: 8 kB / 1.164 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.771, allocations: 0 / 1.164 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/0.7722, allocations: 0.7995 MB / 1.165 GB, free: 9.262 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.7757, allocations: 2.428 MB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.7757, allocations: 8.188 kB / 1.167 GB, free: 6.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/0.7764, allocations: 179.8 kB / 1.167 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.7764, allocations: 4 kB / 1.167 GB, free: 6.551 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.7765, allocations: 16 kB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.7765, allocations: 4 kB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7765, allocations: 7.938 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.7786, allocations: 1.339 MB / 1.169 GB, free: 5.145 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.7791, allocations: 374.4 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.7794, allocations: 12 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.7804, allocations: 111.7 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.7805, allocations: 52.48 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/0.7806, allocations: 31.97 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001489/0.7821, allocations: 1.22 MB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.7821, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001592/0.7837, allocations: 0.6395 MB / 1.171 GB, free: 2.676 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.003418/0.7871, allocations: 2.365 MB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.7887, allocations: 0.8086 MB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7887, allocations: 4.188 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000679/0.7894, allocations: 354.9 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005/0.7944, allocations: 1.209 MB / 1.176 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/0.8198, allocations: 14.74 MB / 1.19 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008548/0.8207, allocations: 1.413 MB / 1.191 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001607/0.8223, allocations: 380.2 kB / 1.192 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008624/0.8232, allocations: 0.7648 MB / 1.193 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of SimCode: time 1.072e-06/0.8232, allocations: 0 / 1.193 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.641/2.464, allocations: 55.25 MB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/2.464, allocations: 251.9 kB / 1.247 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/5.878, allocations: 2.953 kB / 1.247 GB, free: 4.625 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