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.00844/0.00844, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001667/0.001667, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.374/1.374, 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.377/2.377, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8966/0.898, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.101/0.9991, allocations: 77.15 MB / 1.163 GB, free: 13.89 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03379/1.033, allocations: 18.89 MB / 1.181 GB, free: 292 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005272/1.038, allocations: 109.2 kB / 1.181 GB, free: 252 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00474/1.043, allocations: 1.249 MB / 1.183 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/1.056, allocations: 3.631 MB / 1.186 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006569/1.062, allocations: 2.09 MB / 1.188 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01092/1.073, allocations: 6.676 MB / 1.195 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004257/1.078, allocations: 2.095 MB / 1.197 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007141/1.085, allocations: 2.376 MB / 1.199 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004386/1.089, allocations: 1.757 MB / 1.201 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001063/1.09, allocations: 198.9 kB / 1.201 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006845/1.097, allocations: 1.614 MB / 1.203 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001386/1.099, allocations: 0.5363 MB / 1.203 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.004333/1.103, allocations: 1.254 MB / 1.204 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0102/1.113, allocations: 3.732 MB / 1.208 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.113, allocations: 4 kB / 1.208 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.394e-06/1.113, allocations: 1.125 kB / 1.208 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001413/1.113, allocations: 0 / 1.208 GB, free: 14.66 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.008209/1.122, allocations: 2.705 MB / 1.211 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.122, allocations: 14.19 kB / 1.211 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005585/1.122, allocations: 202.1 kB / 1.211 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/1.124, allocations: 271.9 kB / 1.211 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005088/1.129, allocations: 2.013 MB / 1.213 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/1.129, allocations: 109.8 kB / 1.213 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004399/1.129, allocations: 143.3 kB / 1.213 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004039/1.133, allocations: 1.519 MB / 1.215 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.737e-05/1.134, allocations: 1.188 kB / 1.215 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/1.134, allocations: 53.91 kB / 1.215 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.348e-05/1.134, allocations: 52.08 kB / 1.215 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/1.137, allocations: 1.117 MB / 1.216 GB, free: 9.164 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.01241/1.149, allocations: 7.624 MB / 1.223 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/1.15, allocations: 476.6 kB / 1.224 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007472/1.151, allocations: 340.4 kB / 1.224 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.152, allocations: 1.141 MB / 1.225 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/1.152, allocations: 47.11 kB / 1.225 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 3.467e-06/1.152, allocations: 0 / 1.225 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002813/1.155, allocations: 0.9534 MB / 1.226 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.155, allocations: 67.97 kB / 1.226 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/1.159, allocations: 1.783 MB / 1.228 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/1.159, allocations: 37.7 kB / 1.228 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/1.16, allocations: 0.9356 MB / 1.229 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/1.161, allocations: 224.8 kB / 1.229 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004951/1.161, allocations: 222.7 kB / 1.229 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.161, allocations: 353.9 kB / 1.23 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008729/1.162, allocations: 330.4 kB / 1.23 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/1.163, allocations: 0.6899 MB / 1.231 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/1.165, allocations: 1.012 MB / 1.232 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/1.165, allocations: 0 / 1.232 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003011/1.168, allocations: 1.214 MB / 1.233 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/1.168, allocations: 12 kB / 1.233 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/1.168, allocations: 12.06 kB / 1.233 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.003e-05/1.168, allocations: 16 kB / 1.233 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.169, allocations: 287.6 kB / 1.233 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-05/1.17, allocations: 23.92 kB / 1.233 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/1.171, allocations: 166.4 kB / 1.233 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/1.171, allocations: 48 kB / 1.233 GB, free: 7.047 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.0009209/1.172, allocations: 437.4 kB / 1.234 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00073/1.173, allocations: 193.7 kB / 1.234 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/1.175, allocations: 0.8678 MB / 1.235 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/1.175, allocations: 11.98 kB / 1.235 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.175, allocations: 3.938 kB / 1.235 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001396/1.177, allocations: 0.7956 MB / 1.236 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005358/1.182, allocations: 2.451 MB / 1.238 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.182, allocations: 0 / 1.238 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/1.183, allocations: 180 kB / 1.238 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/1.183, allocations: 8 kB / 1.238 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/1.183, allocations: 23.92 kB / 1.238 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/1.183, allocations: 4 kB / 1.238 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.183, allocations: 0 / 1.238 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/1.186, allocations: 1.34 MB / 1.24 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/1.187, allocations: 366.5 kB / 1.24 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006976/1.188, allocations: 12 kB / 1.24 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.189, allocations: 71.86 kB / 1.24 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.19, allocations: 48.48 kB / 1.24 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.19, allocations: 35.98 kB / 1.24 GB, free: 4 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002226/1.192, allocations: 1.247 MB / 1.241 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.994e-06/1.192, allocations: 0 / 1.241 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002848/1.195, allocations: 0.6512 MB / 1.242 GB, free: 14.09 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.005009/1.2, allocations: 2.382 MB / 1.244 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002148/1.202, allocations: 0.8272 MB / 1.245 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.202, allocations: 4 kB / 1.245 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008156/1.203, allocations: 356.4 kB / 1.245 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007177/1.21, allocations: 1.195 MB / 1.247 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/1.237, allocations: 12.55 MB / 1.259 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.238, allocations: 1.409 MB / 1.26 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00181/1.24, allocations: 383.9 kB / 1.261 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.241, allocations: 0.7648 MB / 1.261 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of SimCode: time 2.225e-06/1.241, allocations: 0 / 1.261 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/1.35, allocations: 58.48 MB / 1.318 GB, free: 15.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.46, allocations: 22.48 kB / 1.319 GB, free: 15.88 MB / 1.061 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