Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_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.001219/0.001219, allocations: 108 kB / 15.6 MB, free: 132 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.001087/0.001087, allocations: 192 kB / 16.53 MB, free: 6.391 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 0.6647 GB, free: 292 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.89 kB / 0.8127 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6165/0.618, allocations: 140.3 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07152/0.6896, allocations: 77.17 MB / 1.025 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02713/0.7167, allocations: 18.89 MB / 1.044 GB, free: 1.496 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004134/0.7209, allocations: 111.4 kB / 1.044 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.7243, allocations: 1.242 MB / 1.045 GB, free: 140 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.7346, allocations: 3.627 MB / 1.048 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005613/0.7403, allocations: 2.082 MB / 1.05 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009821/0.7501, allocations: 6.664 MB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003475/0.7536, allocations: 2.096 MB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005029/0.7586, allocations: 2.295 MB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.7616, allocations: 1.742 MB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005437/0.7621, allocations: 203.9 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004355/0.7665, allocations: 1.618 MB / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007114/0.7672, allocations: 0.5332 MB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.7695, allocations: 1.252 MB / 1.066 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006009/0.7755, allocations: 3.696 MB / 1.07 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7755, allocations: 4 kB / 1.07 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7755, allocations: 0 / 1.07 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001043/0.7756, allocations: 4 kB / 1.07 GB, free: 6.23 MB / 0.8262 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.005111/0.7807, allocations: 2.712 MB / 1.073 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.7808, allocations: 8.031 kB / 1.073 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002856/0.7811, allocations: 206.8 kB / 1.073 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007681/0.7819, allocations: 258 kB / 1.073 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.7849, allocations: 1.916 MB / 1.075 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.7849, allocations: 102.7 kB / 1.075 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.7851, allocations: 147.9 kB / 1.075 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.7878, allocations: 1.52 MB / 1.077 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/0.7879, allocations: 4 kB / 1.077 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.788, allocations: 60 kB / 1.077 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/0.788, allocations: 40 kB / 1.077 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.7904, allocations: 1.13 MB / 1.078 GB, free: 13.93 MB / 0.8419 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.008625/0.799, allocations: 7.653 MB / 1.085 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000961/0.8, allocations: 480.6 kB / 1.086 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/0.8006, allocations: 326.4 kB / 1.086 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008139/0.8015, allocations: 1.156 MB / 1.087 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.8015, allocations: 47.12 kB / 1.087 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 2.255e-06/0.8015, allocations: 0 / 1.087 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002236/0.8038, allocations: 0.9612 MB / 1.088 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.8038, allocations: 59.97 kB / 1.088 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.806, allocations: 1.787 MB / 1.09 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.8061, allocations: 37.7 kB / 1.09 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007196/0.8068, allocations: 0.9317 MB / 1.091 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.807, allocations: 220.9 kB / 1.091 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.8073, allocations: 234.6 kB / 1.091 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8075, allocations: 353.9 kB / 1.092 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/0.8082, allocations: 326.4 kB / 1.092 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009427/0.8091, allocations: 0.6899 MB / 1.093 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.8108, allocations: 1.012 MB / 1.094 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.8108, allocations: 4 kB / 1.094 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002241/0.813, allocations: 1.214 MB / 1.095 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.8131, allocations: 12 kB / 1.095 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.8131, allocations: 8 kB / 1.095 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.8131, allocations: 16 kB / 1.095 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.8142, allocations: 287.8 kB / 1.095 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.707e-05/0.8142, allocations: 27.92 kB / 1.095 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.8154, allocations: 166.4 kB / 1.095 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/0.8155, allocations: 48 kB / 1.096 GB, free: 10.68 MB / 0.8575 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.0006603/0.8162, allocations: 441.4 kB / 1.096 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/0.8165, allocations: 189.7 kB / 1.096 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.8184, allocations: 0.8718 MB / 1.097 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.8184, allocations: 11.98 kB / 1.097 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.8185, allocations: 0 / 1.097 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001376/0.8198, allocations: 0.7956 MB / 1.098 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.8239, allocations: 2.447 MB / 1.1 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.824, allocations: 8.188 kB / 1.1 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.8248, allocations: 179.8 kB / 1.1 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.8248, allocations: 4 kB / 1.1 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.8248, allocations: 19.98 kB / 1.1 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.8248, allocations: 7.938 kB / 1.1 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8248, allocations: 8 kB / 1.1 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.8272, allocations: 1.335 MB / 1.102 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.8277, allocations: 370.5 kB / 1.102 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.828, allocations: 16 kB / 1.102 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.829, allocations: 55.92 kB / 1.102 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.8291, allocations: 56.48 kB / 1.102 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/0.8292, allocations: 31.98 kB / 1.102 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001603/0.8308, allocations: 1.247 MB / 1.103 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8308, allocations: 0 / 1.103 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001579/0.8324, allocations: 0.6513 MB / 1.104 GB, free: 1.73 MB / 0.8575 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.003847/0.8362, allocations: 2.387 MB / 1.106 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.8382, allocations: 0.8976 MB / 1.107 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8382, allocations: 4 kB / 1.107 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007003/0.839, allocations: 356.2 kB / 1.108 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005101/0.8441, allocations: 1.204 MB / 1.109 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/0.8647, allocations: 14.22 MB / 1.123 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.8659, allocations: 1.405 MB / 1.124 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001616/0.8675, allocations: 382.6 kB / 1.124 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009398/0.8684, allocations: 0.7648 MB / 1.125 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of SimCode: time 1.092e-06/0.8685, allocations: 0 / 1.125 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09929/0.9677, allocations: 57.32 MB / 1.181 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.38, allocations: 7.984 kB / 1.181 GB, free: 2.215 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches