Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_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.001022/0.001022, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008299/0.008299, allocations: 170 kB / 16.26 MB, free: 6.613 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 462.7 MB / 0.7364 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004835, allocations: 10.5 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.337, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08174/0.4188, allocations: 75.3 MB / 1.132 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03055/0.4494, allocations: 18.76 MB / 1.151 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004926/0.4544, allocations: 95.38 kB / 1.151 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.4582, allocations: 1.022 MB / 1.152 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.4689, allocations: 3.38 MB / 1.155 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005379/0.4743, allocations: 1.905 MB / 1.157 GB, free: 84 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01177/0.486, allocations: 8.885 MB / 1.166 GB, free: 7.176 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003467/0.4895, allocations: 1.679 MB / 1.167 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005084/0.4946, allocations: 1.893 MB / 1.169 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003685/0.4983, allocations: 1.703 MB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006445/0.499, allocations: 72 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004813/0.5038, allocations: 1.442 MB / 1.172 GB, free: 328 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009197/0.5047, allocations: 410 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.5073, allocations: 1.121 MB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006844/0.5142, allocations: 3.57 MB / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5142, allocations: 0 / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5142, allocations: 0 / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001372/0.5144, allocations: 0 / 1.177 GB, free: 11.2 MB / 0.9356 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.005857/0.5202, allocations: 2.291 MB / 1.179 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5203, allocations: 15.95 kB / 1.179 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005544/0.5209, allocations: 202.8 kB / 1.18 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.5219, allocations: 270 kB / 1.18 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.526, allocations: 1.984 MB / 1.182 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.5261, allocations: 106.7 kB / 1.182 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002986/0.5264, allocations: 140 kB / 1.182 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.5296, allocations: 1.536 MB / 1.184 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/0.5297, allocations: 7.938 kB / 1.184 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.5298, allocations: 60 kB / 1.184 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.5299, allocations: 40 kB / 1.184 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.5324, allocations: 1.169 MB / 1.185 GB, free: 3.188 MB / 0.9356 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.009537/0.542, allocations: 7.583 MB / 1.192 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.5431, allocations: 0.4893 MB / 1.193 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006969/0.5438, allocations: 356.4 kB / 1.193 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009324/0.5447, allocations: 1.156 MB / 1.194 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.5448, allocations: 47.11 kB / 1.194 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 2.525e-06/0.5448, allocations: 0 / 1.194 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.002676/0.5475, allocations: 1.028 MB / 1.195 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.5475, allocations: 59.95 kB / 1.195 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.551, allocations: 1.759 MB / 1.197 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.5511, allocations: 41.7 kB / 1.197 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.5521, allocations: 0.9278 MB / 1.198 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.5524, allocations: 216.9 kB / 1.198 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.5526, allocations: 97.66 kB / 1.198 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.5528, allocations: 349.9 kB / 1.199 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.5537, allocations: 350.4 kB / 1.199 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.5548, allocations: 0.7133 MB / 1.2 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.5567, allocations: 1.051 MB / 1.201 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.5567, allocations: 7.938 kB / 1.201 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002838/0.5595, allocations: 1.261 MB / 1.202 GB, free: 496 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.5596, allocations: 8 kB / 1.202 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.5596, allocations: 8 kB / 1.202 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.091e-05/0.5597, allocations: 19.98 kB / 1.202 GB, free: 460 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.5608, allocations: 319.8 kB / 1.202 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.508e-05/0.5608, allocations: 19.94 kB / 1.202 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.5626, allocations: 246.4 kB / 1.202 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.5627, allocations: 59.98 kB / 1.202 GB, free: 15.82 MB / 0.9669 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.0008128/0.5636, allocations: 445.3 kB / 1.203 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/0.564, allocations: 197.6 kB / 1.203 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.566, allocations: 0.8986 MB / 1.204 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.566, allocations: 12 kB / 1.204 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.566, allocations: 0 / 1.204 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001398/0.5674, allocations: 0.8386 MB / 1.205 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/0.5719, allocations: 2.494 MB / 1.207 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.5719, allocations: 0 / 1.207 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000812/0.5727, allocations: 208 kB / 1.207 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.5727, allocations: 4 kB / 1.207 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.5728, allocations: 20 kB / 1.207 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-06/0.5728, allocations: 4 kB / 1.207 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5728, allocations: 11.94 kB / 1.207 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.5753, allocations: 1.398 MB / 1.209 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00079/0.5761, allocations: 402.4 kB / 1.209 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.5765, allocations: 19.92 kB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.5778, allocations: 119.7 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.578, allocations: 52.44 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.578, allocations: 35.97 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001932/0.58, allocations: 1.22 MB / 1.211 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.58, allocations: 4 kB / 1.211 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002251/0.5823, allocations: 0.6395 MB / 1.211 GB, free: 6.578 MB / 0.9669 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.004153/0.5864, allocations: 2.441 MB / 1.214 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001936/0.5884, allocations: 0.8586 MB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5884, allocations: 0 / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007564/0.5891, allocations: 380.4 kB / 1.215 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006675/0.5958, allocations: 1.201 MB / 1.216 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/0.6246, allocations: 14.91 MB / 1.231 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.6259, allocations: 1.409 MB / 1.232 GB, free: 192 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001913/0.6278, allocations: 387.5 kB / 1.232 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.6289, allocations: 0.7648 MB / 1.233 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/0.629, allocations: 0 / 1.233 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6201/1.249, allocations: 55.49 MB / 1.287 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/1.249, allocations: 273.1 kB / 1.288 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/4.571, allocations: 0 / 1.288 GB, free: 168.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches