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.001295/0.001295, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001293/0.001293, allocations: 193.1 kB / 16.25 MB, free: 6.621 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.303/2.303, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 59.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6374/0.6389, allocations: 140.4 MB / 0.9492 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07672/0.7156, allocations: 76.5 MB / 1.024 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02671/0.7424, allocations: 18.76 MB / 1.042 GB, free: 2.504 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003661/0.7461, allocations: 99.38 kB / 1.042 GB, free: 2.406 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003559/0.7497, allocations: 1.08 MB / 1.043 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009423/0.7591, allocations: 3.395 MB / 1.047 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00496/0.7641, allocations: 1.922 MB / 1.049 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.008556/0.7727, allocations: 6.726 MB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003331/0.776, allocations: 2.061 MB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006619/0.7827, allocations: 2.341 MB / 1.059 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004306/0.787, allocations: 1.809 MB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0008249/0.7879, allocations: 204 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004301/0.7922, allocations: 1.641 MB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009162/0.7931, allocations: 0.541 MB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002307/0.7954, allocations: 1.252 MB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006441/0.8019, allocations: 3.716 MB / 1.068 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8019, allocations: 3.938 kB / 1.068 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8019, allocations: 0 / 1.068 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001047/0.802, allocations: 0 / 1.068 GB, free: 7.625 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.005419/0.8074, allocations: 2.711 MB / 1.071 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.8075, allocations: 12.03 kB / 1.071 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003528/0.8079, allocations: 202.8 kB / 1.071 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008665/0.8087, allocations: 266 kB / 1.072 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.8122, allocations: 1.976 MB / 1.073 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/0.8123, allocations: 110.7 kB / 1.074 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.8125, allocations: 140 kB / 1.074 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.8153, allocations: 1.516 MB / 1.075 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.8153, allocations: 4 kB / 1.075 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.8155, allocations: 56 kB / 1.075 GB, free: 452 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.8155, allocations: 43.94 kB / 1.075 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.8179, allocations: 1.119 MB / 1.076 GB, free: 15.27 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.008521/0.8264, allocations: 7.583 MB / 1.084 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.8274, allocations: 489.1 kB / 1.084 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006553/0.8281, allocations: 330.3 kB / 1.085 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008487/0.829, allocations: 1.148 MB / 1.086 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.829, allocations: 43.11 kB / 1.086 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 2.615e-06/0.829, allocations: 0 / 1.086 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002292/0.8313, allocations: 0.9574 MB / 1.087 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.8314, allocations: 67.84 kB / 1.087 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.8339, allocations: 1.755 MB / 1.088 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/0.834, allocations: 41.7 kB / 1.088 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008176/0.8348, allocations: 0.9394 MB / 1.089 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.835, allocations: 220.9 kB / 1.09 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/0.8354, allocations: 226.7 kB / 1.09 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8355, allocations: 353.9 kB / 1.09 GB, free: 216 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007311/0.8363, allocations: 326.4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009871/0.8373, allocations: 0.6938 MB / 1.091 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.8389, allocations: 1.008 MB / 1.092 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.8389, allocations: 4 kB / 1.092 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002423/0.8413, allocations: 1.214 MB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.8414, allocations: 13.72 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.8414, allocations: 8 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.8414, allocations: 16 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.8425, allocations: 288.1 kB / 1.094 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.97e-05/0.8425, allocations: 23.92 kB / 1.094 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.8441, allocations: 234.5 kB / 1.094 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.256e-05/0.8442, allocations: 48 kB / 1.094 GB, free: 12.05 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.0006768/0.8449, allocations: 453.2 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.8453, allocations: 189.7 kB / 1.095 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.8471, allocations: 0.8605 MB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.8471, allocations: 11.98 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8471, allocations: 0 / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.8485, allocations: 0.7956 MB / 1.096 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004162/0.8527, allocations: 2.431 MB / 1.099 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.8527, allocations: 4 kB / 1.099 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008309/0.8535, allocations: 183.7 kB / 1.099 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.8535, allocations: 8.25 kB / 1.099 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/0.8536, allocations: 19.98 kB / 1.099 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.8536, allocations: 8 kB / 1.099 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.8536, allocations: 0 / 1.099 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.8561, allocations: 1.343 MB / 1.1 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007204/0.8568, allocations: 370.5 kB / 1.1 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.8572, allocations: 12 kB / 1.1 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.8585, allocations: 115.7 kB / 1.101 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.8586, allocations: 52.53 kB / 1.101 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.122e-05/0.8587, allocations: 43.95 kB / 1.101 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001794/0.8605, allocations: 1.22 MB / 1.102 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8605, allocations: 4 kB / 1.102 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0018/0.8623, allocations: 0.6317 MB / 1.102 GB, free: 3.09 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.003843/0.8662, allocations: 2.348 MB / 1.105 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.8682, allocations: 0.9016 MB / 1.106 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8682, allocations: 0 / 1.106 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007208/0.8689, allocations: 352.2 kB / 1.106 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005288/0.8742, allocations: 1.201 MB / 1.107 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02902/0.9032, allocations: 14.74 MB / 1.122 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.9044, allocations: 1.405 MB / 1.123 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001689/0.9061, allocations: 377.7 kB / 1.123 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.9071, allocations: 0.7687 MB / 1.124 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of SimCode: time 9.92e-07/0.9071, allocations: 0 / 1.124 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/1.038, allocations: 56.2 MB / 1.179 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/1.038, allocations: 258.8 kB / 1.179 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/4.453, allocations: 0 / 1.179 GB, free: 4.016 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