Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_10_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.0008533/0.0008533, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005461/0.005461, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003742, allocations: 12 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.6269, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07866/0.7056, allocations: 75.31 MB / 1.097 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.7314, allocations: 18.75 MB / 1.115 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004435/0.7358, allocations: 95.31 kB / 1.115 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003737/0.7396, allocations: 1.033 MB / 1.116 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.7508, allocations: 3.364 MB / 1.119 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005913/0.7568, allocations: 1.901 MB / 1.121 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01026/0.767, allocations: 8.895 MB / 1.13 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.7699, allocations: 1.677 MB / 1.132 GB, free: 428 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.7741, allocations: 1.886 MB / 1.133 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/0.777, allocations: 1.699 MB / 1.135 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004131/0.7774, allocations: 76 kB / 1.135 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/0.7812, allocations: 1.442 MB / 1.137 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006051/0.7818, allocations: 418 kB / 1.137 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.7837, allocations: 1.121 MB / 1.138 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005176/0.7889, allocations: 3.566 MB / 1.142 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7889, allocations: 0 / 1.142 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7889, allocations: 0 / 1.142 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.752e-05/0.789, allocations: 4 kB / 1.142 GB, free: 6.172 MB / 0.8887 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.004426/0.7934, allocations: 2.287 MB / 1.144 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7935, allocations: 12.03 kB / 1.144 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/0.7938, allocations: 202.8 kB / 1.144 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007114/0.7946, allocations: 266 kB / 1.144 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003602/0.7982, allocations: 1.966 MB / 1.146 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.7983, allocations: 114.7 kB / 1.146 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.7985, allocations: 147.9 kB / 1.146 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.8015, allocations: 1.54 MB / 1.148 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/0.8015, allocations: 11.92 kB / 1.148 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.8017, allocations: 56 kB / 1.148 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.8018, allocations: 39.98 kB / 1.148 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.8042, allocations: 1.169 MB / 1.149 GB, free: 14.17 MB / 0.9044 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.009988/0.8142, allocations: 7.591 MB / 1.157 GB, free: 6 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009938/0.8152, allocations: 0.4888 MB / 1.157 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/0.816, allocations: 355.8 kB / 1.157 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009611/0.8169, allocations: 1.152 MB / 1.158 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.817, allocations: 43.12 kB / 1.159 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 2.194e-06/0.817, allocations: 3.938 kB / 1.159 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.002344/0.8194, allocations: 1.028 MB / 1.16 GB, free: 2.652 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.8194, allocations: 55.97 kB / 1.16 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.8218, allocations: 1.759 MB / 1.161 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.271e-05/0.8219, allocations: 45.7 kB / 1.161 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007597/0.8227, allocations: 0.9239 MB / 1.162 GB, free: 15.8 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.8229, allocations: 224.9 kB / 1.162 GB, free: 15.58 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.8231, allocations: 93.66 kB / 1.163 GB, free: 15.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.8232, allocations: 353.9 kB / 1.163 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007859/0.824, allocations: 350.4 kB / 1.163 GB, free: 14.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.8251, allocations: 0.7134 MB / 1.164 GB, free: 13.93 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.8269, allocations: 1.051 MB / 1.165 GB, free: 12.73 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.8269, allocations: 4 kB / 1.165 GB, free: 12.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00252/0.8294, allocations: 1.257 MB / 1.166 GB, free: 11.47 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.8295, allocations: 8 kB / 1.166 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.8295, allocations: 15.94 kB / 1.166 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.8295, allocations: 16 kB / 1.166 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.8306, allocations: 316.2 kB / 1.167 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/0.8306, allocations: 27.86 kB / 1.167 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.8321, allocations: 246.4 kB / 1.167 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.175e-05/0.8322, allocations: 48 kB / 1.167 GB, free: 10.8 MB / 0.92 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.0006664/0.8329, allocations: 441.3 kB / 1.167 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.8332, allocations: 193.7 kB / 1.167 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.8351, allocations: 0.9107 MB / 1.168 GB, free: 9.258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.8351, allocations: 11.98 kB / 1.168 GB, free: 9.246 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.8351, allocations: 8 kB / 1.168 GB, free: 9.238 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00143/0.8366, allocations: 0.8347 MB / 1.169 GB, free: 8.352 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/0.841, allocations: 2.482 MB / 1.172 GB, free: 5.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.841, allocations: 4 kB / 1.172 GB, free: 5.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/0.8418, allocations: 208 kB / 1.172 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.8419, allocations: 7.984 kB / 1.172 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.8419, allocations: 23.98 kB / 1.172 GB, free: 5.535 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.8419, allocations: 4 kB / 1.172 GB, free: 5.531 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.842, allocations: 4 kB / 1.172 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.8446, allocations: 1.406 MB / 1.173 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008161/0.8454, allocations: 402.3 kB / 1.174 GB, free: 3.668 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/0.8458, allocations: 12 kB / 1.174 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.8472, allocations: 123.7 kB / 1.174 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.8473, allocations: 52.42 kB / 1.174 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/0.8474, allocations: 39.98 kB / 1.174 GB, free: 3.445 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001995/0.8494, allocations: 1.224 MB / 1.175 GB, free: 2.203 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8495, allocations: 0 / 1.175 GB, free: 2.203 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00197/0.8514, allocations: 0.6318 MB / 1.176 GB, free: 1.57 MB / 0.92 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.004058/0.8555, allocations: 2.442 MB / 1.178 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.8576, allocations: 0.8547 MB / 1.179 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8576, allocations: 0 / 1.179 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.8584, allocations: 376.4 kB / 1.179 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006757/0.8651, allocations: 1.21 MB / 1.18 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03039/0.8955, allocations: 14.92 MB / 1.195 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.8967, allocations: 1.409 MB / 1.196 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001633/0.8984, allocations: 379.1 kB / 1.197 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.8994, allocations: 0.7687 MB / 1.197 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of SimCode: time 7.92e-07/0.8995, allocations: 0 / 1.197 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09401/0.9935, allocations: 55.52 MB / 1.252 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.9937, allocations: 251.3 kB / 1.252 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.683/4.676, allocations: 3.938 kB / 1.252 GB, free: 2.957 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches