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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001556/0.001556, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001793/0.001793, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5911/0.5931, allocations: 140.4 MB / 0.949 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06616/0.6593, allocations: 76.66 MB / 1.024 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02544/0.6848, allocations: 18.96 MB / 1.042 GB, free: 2.191 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004058/0.6889, allocations: 107.3 kB / 1.043 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.6926, allocations: 1.03 MB / 1.044 GB, free: 1.051 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009348/0.702, allocations: 3.363 MB / 1.047 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004786/0.7068, allocations: 1.91 MB / 1.049 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009207/0.716, allocations: 8.89 MB / 1.057 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.7184, allocations: 1.735 MB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003457/0.7219, allocations: 1.933 MB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.7241, allocations: 1.769 MB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.7244, allocations: 104 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.7279, allocations: 1.454 MB / 1.064 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.7284, allocations: 454 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.7297, allocations: 1.143 MB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004481/0.7342, allocations: 3.638 MB / 1.069 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7342, allocations: 3.938 kB / 1.069 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.077e-06/0.7342, allocations: 4 kB / 1.069 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.357e-05/0.7343, allocations: 7.938 kB / 1.069 GB, free: 6.555 MB / 0.8262 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.004506/0.7388, allocations: 2.699 MB / 1.072 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7388, allocations: 12.03 kB / 1.072 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002287/0.7391, allocations: 206.8 kB / 1.072 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006971/0.7398, allocations: 266 kB / 1.072 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.7429, allocations: 1.979 MB / 1.074 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.743, allocations: 106.7 kB / 1.074 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.7432, allocations: 148 kB / 1.075 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.7459, allocations: 1.516 MB / 1.076 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.7459, allocations: 7.984 kB / 1.076 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.746, allocations: 56 kB / 1.076 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/0.7461, allocations: 43.94 kB / 1.076 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.7484, allocations: 1.122 MB / 1.077 GB, free: 14.2 MB / 0.8419 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.008272/0.7567, allocations: 7.575 MB / 1.085 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009954/0.7577, allocations: 481.1 kB / 1.085 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.7584, allocations: 331.8 kB / 1.085 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008913/0.7593, allocations: 1.16 MB / 1.087 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.7593, allocations: 39.12 kB / 1.087 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 2.585e-06/0.7593, allocations: 0 / 1.087 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002192/0.7615, allocations: 0.9612 MB / 1.088 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.7616, allocations: 55.97 kB / 1.088 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.7638, allocations: 1.767 MB / 1.089 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/0.7638, allocations: 45.7 kB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007184/0.7646, allocations: 0.9239 MB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.7648, allocations: 224.9 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.7651, allocations: 226.7 kB / 1.091 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7652, allocations: 345.9 kB / 1.091 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.7659, allocations: 334.4 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009994/0.7669, allocations: 0.686 MB / 1.092 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.7686, allocations: 1.012 MB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.7686, allocations: 4 kB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002301/0.7709, allocations: 1.217 MB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.771, allocations: 8 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.771, allocations: 16.84 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.771, allocations: 15.98 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.7721, allocations: 291.6 kB / 1.095 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/0.7721, allocations: 19.94 kB / 1.095 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.7736, allocations: 234.4 kB / 1.095 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.258e-05/0.7737, allocations: 51.98 kB / 1.095 GB, free: 10.98 MB / 0.8575 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.0007429/0.7744, allocations: 449.3 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.7747, allocations: 189.7 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.7765, allocations: 0.8533 MB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.7765, allocations: 12 kB / 1.096 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.7765, allocations: 3.938 kB / 1.096 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001317/0.7778, allocations: 0.7995 MB / 1.097 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/0.7816, allocations: 2.435 MB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.7816, allocations: 0 / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.7824, allocations: 184 kB / 1.1 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.7825, allocations: 7.984 kB / 1.1 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.7825, allocations: 20 kB / 1.1 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.7825, allocations: 4 kB / 1.1 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7825, allocations: 0 / 1.1 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.7849, allocations: 1.339 MB / 1.101 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.7854, allocations: 362.5 kB / 1.101 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.7857, allocations: 12 kB / 1.101 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.7868, allocations: 123.6 kB / 1.101 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.7869, allocations: 56.42 kB / 1.101 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.787, allocations: 35.98 kB / 1.102 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001591/0.7886, allocations: 1.22 MB / 1.103 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7886, allocations: 0 / 1.103 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001563/0.7902, allocations: 0.6395 MB / 1.103 GB, free: 2.027 MB / 0.8575 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.00357/0.7937, allocations: 2.359 MB / 1.106 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.7953, allocations: 0.8233 MB / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7954, allocations: 0 / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/0.7961, allocations: 356.4 kB / 1.107 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005154/0.8012, allocations: 1.206 MB / 1.108 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/0.8291, allocations: 14.73 MB / 1.122 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.8302, allocations: 1.405 MB / 1.124 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001663/0.8319, allocations: 375.7 kB / 1.124 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.8329, allocations: 0.7687 MB / 1.125 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of SimCode: time 1.143e-06/0.8329, allocations: 0 / 1.125 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.395/2.228, allocations: 55.23 MB / 1.179 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/2.228, allocations: 258.4 kB / 1.179 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.547/5.776, allocations: 6.672 kB / 1.179 GB, free: 3.934 MB / 0.9356 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