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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002267/0.002267, 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.00373/0.00373, allocations: 194.8 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 3.051/3.051, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 6.16/6.16, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 65.67 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7171/0.7196, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1533/0.873, allocations: 76.51 MB / 1.127 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.05552/0.9286, allocations: 18.76 MB / 1.145 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01093/0.9397, allocations: 103.3 kB / 1.146 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.008964/0.9488, allocations: 1.084 MB / 1.147 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0258/0.9747, allocations: 3.394 MB / 1.15 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01344/0.9882, allocations: 1.922 MB / 1.152 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0216/1.01, allocations: 6.713 MB / 1.158 GB, free: 11.81 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008796/1.019, allocations: 2.071 MB / 1.16 GB, free: 9.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01199/1.031, allocations: 2.334 MB / 1.163 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007022/1.038, allocations: 1.812 MB / 1.164 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001457/1.039, allocations: 196 kB / 1.165 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/1.05, allocations: 1.641 MB / 1.166 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002102/1.052, allocations: 0.541 MB / 1.167 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.005798/1.058, allocations: 1.26 MB / 1.168 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01626/1.074, allocations: 3.712 MB / 1.172 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/1.074, allocations: 0 / 1.172 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.264e-06/1.074, allocations: 0 / 1.172 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001833/1.075, allocations: 0 / 1.172 GB, free: 14.18 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.01493/1.09, allocations: 2.715 MB / 1.174 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 9.322e-05/1.09, allocations: 16.56 kB / 1.174 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001054/1.091, allocations: 198.8 kB / 1.174 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/1.093, allocations: 262 kB / 1.175 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008914/1.102, allocations: 1.976 MB / 1.177 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/1.103, allocations: 110.7 kB / 1.177 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007745/1.103, allocations: 144 kB / 1.177 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007974/1.111, allocations: 1.52 MB / 1.178 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/1.112, allocations: 7.984 kB / 1.178 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005528/1.112, allocations: 56 kB / 1.178 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/1.112, allocations: 36 kB / 1.178 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005793/1.118, allocations: 1.126 MB / 1.18 GB, free: 5.812 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.02278/1.141, allocations: 7.579 MB / 1.187 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/1.144, allocations: 482.2 kB / 1.187 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/1.145, allocations: 338.3 kB / 1.188 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001788/1.147, allocations: 1.145 MB / 1.189 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.689e-05/1.147, allocations: 39.12 kB / 1.189 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 8.406e-06/1.147, allocations: 4 kB / 1.189 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.005082/1.152, allocations: 0.9612 MB / 1.19 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/1.152, allocations: 55.97 kB / 1.19 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006836/1.159, allocations: 1.759 MB / 1.192 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003897/1.16, allocations: 41.7 kB / 1.192 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/1.161, allocations: 0.9393 MB / 1.193 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006316/1.162, allocations: 209 kB / 1.193 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/1.163, allocations: 230.7 kB / 1.193 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002371/1.164, allocations: 353.9 kB / 1.193 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/1.165, allocations: 330.4 kB / 1.194 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/1.167, allocations: 0.686 MB / 1.194 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/1.171, allocations: 1.016 MB / 1.195 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.228e-05/1.171, allocations: 4 kB / 1.195 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00609/1.177, allocations: 1.214 MB / 1.196 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.423e-05/1.178, allocations: 12.16 kB / 1.196 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.012e-05/1.178, allocations: 11.98 kB / 1.197 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.962e-05/1.178, allocations: 16 kB / 1.197 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/1.18, allocations: 287.6 kB / 1.197 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-05/1.18, allocations: 19.92 kB / 1.197 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004269/1.184, allocations: 242.4 kB / 1.197 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/1.185, allocations: 48 kB / 1.197 GB, free: 2.609 MB / 0.9512 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.002347/1.187, allocations: 445.9 kB / 1.198 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/1.189, allocations: 197.5 kB / 1.198 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/1.193, allocations: 0.869 MB / 1.199 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-05/1.194, allocations: 15.98 kB / 1.199 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/1.194, allocations: 0 / 1.199 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002572/1.196, allocations: 0.7956 MB / 1.199 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009481/1.206, allocations: 2.428 MB / 1.202 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-05/1.206, allocations: 4 kB / 1.202 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.208, allocations: 184 kB / 1.202 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.049e-05/1.208, allocations: 7.938 kB / 1.202 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/1.208, allocations: 19.98 kB / 1.202 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.965e-05/1.208, allocations: 4 kB / 1.202 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.208, allocations: 0 / 1.202 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005343/1.213, allocations: 1.335 MB / 1.203 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/1.215, allocations: 362.5 kB / 1.204 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/1.217, allocations: 19.98 kB / 1.204 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/1.22, allocations: 111.6 kB / 1.204 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003035/1.22, allocations: 52.5 kB / 1.204 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/1.221, allocations: 39.97 kB / 1.204 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00479/1.225, allocations: 1.22 MB / 1.205 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.71e-07/1.225, allocations: 3.938 kB / 1.205 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.005267/1.231, allocations: 0.6279 MB / 1.206 GB, free: 9.66 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.01026/1.241, allocations: 2.372 MB / 1.208 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004262/1.245, allocations: 0.902 MB / 1.209 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/1.245, allocations: 0 / 1.209 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/1.247, allocations: 355.4 kB / 1.209 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01342/1.26, allocations: 1.201 MB / 1.21 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07373/1.334, allocations: 14.72 MB / 1.225 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/1.336, allocations: 1.413 MB / 1.226 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004268/1.341, allocations: 376.5 kB / 1.226 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002722/1.343, allocations: 0.7726 MB / 1.227 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of SimCode: time 3.828e-06/1.344, allocations: 0 / 1.227 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.653/2.997, allocations: 56.19 MB / 1.282 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004678/2.997, allocations: 260.8 kB / 1.282 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/11.56, allocations: 4.5 kB / 1.282 GB, free: 175.3 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