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.004336/0.004336, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.001019/0.001019, allocations: 198.5 kB / 16.68 MB, free: 5.977 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.116/2.116, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 67.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8496/0.8517, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08061/0.9324, allocations: 77.16 MB / 1.163 GB, free: 13.89 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0287/0.9611, allocations: 18.89 MB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004443/0.9656, allocations: 110.1 kB / 1.181 GB, free: 248 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003789/0.9695, allocations: 1.243 MB / 1.183 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.9802, allocations: 3.639 MB / 1.186 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005753/0.986, allocations: 2.091 MB / 1.188 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009782/0.9958, allocations: 6.679 MB / 1.195 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003225/0.9991, allocations: 2.1 MB / 1.197 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005909/1.005, allocations: 2.304 MB / 1.199 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003761/1.009, allocations: 1.746 MB / 1.201 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007922/1.01, allocations: 199.2 kB / 1.201 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005182/1.015, allocations: 1.621 MB / 1.202 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000897/1.016, allocations: 0.5398 MB / 1.203 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002547/1.018, allocations: 1.246 MB / 1.204 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007395/1.026, allocations: 3.736 MB / 1.208 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.026, allocations: 0 / 1.208 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/1.026, allocations: 0 / 1.208 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.211e-05/1.026, allocations: 0 / 1.208 GB, free: 14.7 MB / 0.9512 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.005764/1.032, allocations: 2.706 MB / 1.211 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.032, allocations: 12.53 kB / 1.211 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000264/1.032, allocations: 203.1 kB / 1.211 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/1.033, allocations: 275.7 kB / 1.211 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004177/1.037, allocations: 2.014 MB / 1.213 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.2e-05/1.037, allocations: 104.7 kB / 1.213 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/1.037, allocations: 147.5 kB / 1.213 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/1.041, allocations: 1.523 MB / 1.215 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/1.041, allocations: 1.531 kB / 1.215 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/1.041, allocations: 58.34 kB / 1.215 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.827e-05/1.041, allocations: 44.56 kB / 1.215 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/1.043, allocations: 1.125 MB / 1.216 GB, free: 9.191 MB / 0.9512 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.009578/1.053, allocations: 7.61 MB / 1.223 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/1.054, allocations: 480.6 kB / 1.224 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006571/1.054, allocations: 336.3 kB / 1.224 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009226/1.055, allocations: 1.152 MB / 1.225 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.055, allocations: 39.12 kB / 1.225 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 2.494e-06/1.055, allocations: 0 / 1.225 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002408/1.058, allocations: 0.9651 MB / 1.226 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/1.058, allocations: 55.97 kB / 1.226 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/1.06, allocations: 1.779 MB / 1.228 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.215e-05/1.06, allocations: 45.7 kB / 1.228 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007127/1.061, allocations: 0.9355 MB / 1.229 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/1.061, allocations: 220.9 kB / 1.229 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/1.061, allocations: 226.7 kB / 1.229 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.062, allocations: 345.9 kB / 1.23 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007026/1.062, allocations: 334.3 kB / 1.23 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009743/1.063, allocations: 0.686 MB / 1.231 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/1.065, allocations: 1.008 MB / 1.232 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.065, allocations: 4 kB / 1.232 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00257/1.068, allocations: 1.221 MB / 1.233 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.068, allocations: 8 kB / 1.233 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.068, allocations: 8 kB / 1.233 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/1.068, allocations: 16 kB / 1.233 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.069, allocations: 296.1 kB / 1.233 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/1.069, allocations: 19.92 kB / 1.233 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.07, allocations: 162.4 kB / 1.233 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/1.07, allocations: 52 kB / 1.233 GB, free: 7.133 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.0007192/1.071, allocations: 441.4 kB / 1.234 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/1.071, allocations: 189.7 kB / 1.234 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/1.073, allocations: 0.8645 MB / 1.235 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/1.073, allocations: 15.92 kB / 1.235 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.073, allocations: 0 / 1.235 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/1.074, allocations: 0.7957 MB / 1.236 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/1.079, allocations: 2.447 MB / 1.238 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.079, allocations: 3.938 kB / 1.238 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/1.08, allocations: 184 kB / 1.238 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.08, allocations: 4 kB / 1.238 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/1.08, allocations: 23.98 kB / 1.238 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/1.08, allocations: 7.938 kB / 1.238 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.08, allocations: 4 kB / 1.238 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/1.082, allocations: 1.34 MB / 1.24 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007503/1.083, allocations: 366.5 kB / 1.24 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/1.083, allocations: 16 kB / 1.24 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/1.084, allocations: 59.92 kB / 1.24 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/1.084, allocations: 52.5 kB / 1.24 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/1.084, allocations: 31.97 kB / 1.24 GB, free: 96 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001636/1.086, allocations: 1.247 MB / 1.241 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.21e-07/1.086, allocations: 0 / 1.241 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001888/1.088, allocations: 0.6512 MB / 1.242 GB, free: 14.18 MB / 0.9825 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.003758/1.092, allocations: 2.386 MB / 1.244 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001725/1.093, allocations: 0.8239 MB / 1.245 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.093, allocations: 4 kB / 1.245 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007185/1.094, allocations: 350.9 kB / 1.245 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005344/1.099, allocations: 1.2 MB / 1.247 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/1.118, allocations: 12.55 MB / 1.259 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009291/1.119, allocations: 1.409 MB / 1.26 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001462/1.12, allocations: 387 kB / 1.261 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009221/1.121, allocations: 0.7648 MB / 1.261 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.121, allocations: 7.938 kB / 1.261 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1549/1.276, allocations: 57.6 MB / 1.318 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.39, allocations: 14.08 kB / 1.318 GB, free: 0.8516 MB / 1.045 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