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.001587/0.001587, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 61.62 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2671, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07822/0.3454, allocations: 77.18 MB / 1.128 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02504/0.3705, allocations: 18.88 MB / 1.147 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003815/0.3743, allocations: 111.3 kB / 1.147 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00351/0.3779, allocations: 1.258 MB / 1.148 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009421/0.3873, allocations: 3.626 MB / 1.152 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.3925, allocations: 2.076 MB / 1.154 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008822/0.4014, allocations: 6.663 MB / 1.16 GB, free: 10.16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003285/0.4047, allocations: 2.09 MB / 1.162 GB, free: 8.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005223/0.4099, allocations: 2.299 MB / 1.164 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003044/0.413, allocations: 1.762 MB / 1.166 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005714/0.4135, allocations: 196 kB / 1.166 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/0.4176, allocations: 1.614 MB / 1.168 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007383/0.4184, allocations: 0.5371 MB / 1.168 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.4204, allocations: 1.248 MB / 1.17 GB, free: 364 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006176/0.4266, allocations: 3.685 MB / 1.173 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4266, allocations: 4 kB / 1.173 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.063e-06/0.4267, allocations: 0 / 1.173 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001052/0.4268, allocations: 0 / 1.173 GB, free: 12.66 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.00501/0.4318, allocations: 2.719 MB / 1.176 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4318, allocations: 16.62 kB / 1.176 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003023/0.4321, allocations: 202.8 kB / 1.176 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007643/0.4329, allocations: 266 kB / 1.176 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/0.4366, allocations: 1.898 MB / 1.178 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.4367, allocations: 114.7 kB / 1.178 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.4371, allocations: 144 kB / 1.178 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/0.4402, allocations: 1.516 MB / 1.18 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.4403, allocations: 4 kB / 1.18 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.4404, allocations: 56 kB / 1.18 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.4404, allocations: 47.94 kB / 1.18 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.4428, allocations: 1.119 MB / 1.181 GB, free: 4.359 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.008831/0.4517, allocations: 7.657 MB / 1.189 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000996/0.4527, allocations: 478.7 kB / 1.189 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/0.4534, allocations: 338.3 kB / 1.189 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000837/0.4542, allocations: 1.148 MB / 1.19 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.4543, allocations: 47.12 kB / 1.191 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 2.635e-06/0.4543, allocations: 0 / 1.191 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.00241/0.4567, allocations: 0.9651 MB / 1.191 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.4567, allocations: 55.97 kB / 1.192 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.4593, allocations: 1.79 MB / 1.193 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.315e-05/0.4594, allocations: 45.7 kB / 1.193 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/0.4603, allocations: 0.9278 MB / 1.194 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.4605, allocations: 216.9 kB / 1.194 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.4608, allocations: 226.7 kB / 1.195 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.461, allocations: 349.9 kB / 1.195 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007284/0.4617, allocations: 330.4 kB / 1.195 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009551/0.4627, allocations: 0.6899 MB / 1.196 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.4643, allocations: 1.008 MB / 1.197 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.4643, allocations: 4 kB / 1.197 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002411/0.4668, allocations: 1.222 MB / 1.198 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.4668, allocations: 8 kB / 1.198 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.4668, allocations: 19.92 kB / 1.198 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.4668, allocations: 16 kB / 1.198 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4679, allocations: 283.6 kB / 1.198 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.995e-05/0.4679, allocations: 19.94 kB / 1.198 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.4693, allocations: 166.6 kB / 1.199 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.4694, allocations: 51.98 kB / 1.199 GB, free: 1.105 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.000778/0.4702, allocations: 449.2 kB / 1.199 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/0.4707, allocations: 197.6 kB / 1.199 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.4725, allocations: 0.8563 MB / 1.2 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.4726, allocations: 12 kB / 1.2 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4726, allocations: 0 / 1.2 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/0.4739, allocations: 0.7956 MB / 1.201 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/0.4785, allocations: 2.455 MB / 1.203 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.4785, allocations: 0 / 1.203 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007716/0.4793, allocations: 184 kB / 1.204 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.4793, allocations: 4 kB / 1.204 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.4793, allocations: 16 kB / 1.204 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.4793, allocations: 4 kB / 1.204 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.4793, allocations: 7.984 kB / 1.204 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.4817, allocations: 1.343 MB / 1.205 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006403/0.4824, allocations: 362.5 kB / 1.205 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/0.4827, allocations: 19.98 kB / 1.205 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.4837, allocations: 63.91 kB / 1.205 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.4838, allocations: 52.44 kB / 1.205 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.4839, allocations: 35.97 kB / 1.205 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001694/0.4856, allocations: 1.243 MB / 1.207 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4856, allocations: 0 / 1.207 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001647/0.4873, allocations: 0.6552 MB / 1.207 GB, free: 8.145 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.003483/0.4907, allocations: 2.384 MB / 1.21 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.4927, allocations: 0.8982 MB / 1.21 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4927, allocations: 0 / 1.21 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/0.4934, allocations: 350.9 kB / 1.211 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005079/0.4984, allocations: 1.199 MB / 1.212 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/0.5171, allocations: 14.24 MB / 1.226 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009666/0.5181, allocations: 1.401 MB / 1.227 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00155/0.5197, allocations: 391.7 kB / 1.228 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009256/0.5206, allocations: 0.7648 MB / 1.228 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.5207, allocations: 0 / 1.228 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5815/1.102, allocations: 57.31 MB / 1.284 GB, free: 175 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.225/10.33, allocations: 11.91 kB / 1.284 GB, free: 175 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