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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001716/0.001715, 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.002302/0.002302, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.386/2.386, allocations: 437 MB / 0.7101 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 0.8688 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4981, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0551/0.5532, allocations: 76.53 MB / 1.092 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.5723, allocations: 18.75 MB / 1.11 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.5741, allocations: 99.38 kB / 1.11 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.5761, allocations: 1.092 MB / 1.111 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005541/0.5816, allocations: 3.391 MB / 1.114 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.585, allocations: 1.93 MB / 1.116 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005135/0.5901, allocations: 6.71 MB / 1.123 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.5919, allocations: 2.057 MB / 1.125 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.5951, allocations: 2.342 MB / 1.127 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.5965, allocations: 1.82 MB / 1.129 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.5967, allocations: 200 kB / 1.129 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.599, allocations: 1.641 MB / 1.131 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.5994, allocations: 0.5371 MB / 1.131 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008701/0.6003, allocations: 1.252 MB / 1.132 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002958/0.6033, allocations: 3.712 MB / 1.136 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6033, allocations: 0 / 1.136 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6033, allocations: 4 kB / 1.136 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.6033, allocations: 3.984 kB / 1.136 GB, free: 8.227 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.003142/0.6065, allocations: 2.715 MB / 1.139 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.6065, allocations: 8.031 kB / 1.139 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001865/0.6067, allocations: 202.8 kB / 1.139 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005214/0.6072, allocations: 266 kB / 1.139 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.6095, allocations: 1.977 MB / 1.141 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/0.6095, allocations: 114.7 kB / 1.141 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.6097, allocations: 136 kB / 1.141 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.6118, allocations: 1.516 MB / 1.143 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.6118, allocations: 7.844 kB / 1.143 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.6119, allocations: 60 kB / 1.143 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.612, allocations: 36 kB / 1.143 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.6138, allocations: 1.13 MB / 1.144 GB, free: 15.86 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.005814/0.6196, allocations: 7.567 MB / 1.151 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.6204, allocations: 484.5 kB / 1.152 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/0.621, allocations: 338.2 kB / 1.152 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006439/0.6216, allocations: 1.152 MB / 1.153 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.6216, allocations: 39.12 kB / 1.153 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 1.493e-06/0.6216, allocations: 4 kB / 1.153 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.001731/0.6234, allocations: 0.9652 MB / 1.154 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.6234, allocations: 59.97 kB / 1.154 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.6251, allocations: 1.756 MB / 1.156 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.6251, allocations: 41.7 kB / 1.156 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/0.6257, allocations: 0.9356 MB / 1.157 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.6259, allocations: 216.9 kB / 1.157 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.6261, allocations: 226.7 kB / 1.157 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.6262, allocations: 349.9 kB / 1.158 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.6268, allocations: 334.4 kB / 1.158 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007823/0.6276, allocations: 0.6899 MB / 1.159 GB, free: 15.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.6289, allocations: 1.008 MB / 1.16 GB, free: 14.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6289, allocations: 0 / 1.16 GB, free: 14.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001757/0.6307, allocations: 1.217 MB / 1.161 GB, free: 13.28 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6307, allocations: 12.88 kB / 1.161 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.6307, allocations: 11.94 kB / 1.161 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.6307, allocations: 20 kB / 1.161 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/0.6316, allocations: 291.5 kB / 1.161 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.6316, allocations: 19.94 kB / 1.161 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.6327, allocations: 242.4 kB / 1.162 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.6328, allocations: 51.98 kB / 1.162 GB, free: 12.64 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.0004516/0.6332, allocations: 433.4 kB / 1.162 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.6334, allocations: 197.6 kB / 1.162 GB, free: 12.01 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.6349, allocations: 0.8627 MB / 1.163 GB, free: 11.15 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.6349, allocations: 8 kB / 1.163 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6349, allocations: 4 kB / 1.163 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/0.636, allocations: 0.7879 MB / 1.164 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.6391, allocations: 2.439 MB / 1.166 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.6391, allocations: 4 kB / 1.166 GB, free: 7.762 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006886/0.6398, allocations: 180 kB / 1.166 GB, free: 7.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.6398, allocations: 7.984 kB / 1.166 GB, free: 7.578 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.6398, allocations: 16 kB / 1.166 GB, free: 7.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.6399, allocations: 4 kB / 1.166 GB, free: 7.559 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6399, allocations: 11.94 kB / 1.166 GB, free: 7.547 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.6418, allocations: 1.335 MB / 1.168 GB, free: 6.172 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.6422, allocations: 366.5 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.6424, allocations: 16 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009501/0.6434, allocations: 111.7 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.6435, allocations: 52.5 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.6435, allocations: 31.97 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001237/0.6448, allocations: 1.224 MB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6448, allocations: 4 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001162/0.6459, allocations: 0.6356 MB / 1.17 GB, free: 3.703 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.002914/0.6489, allocations: 2.372 MB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.6504, allocations: 0.8897 MB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6504, allocations: 0 / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.651, allocations: 364.4 kB / 1.174 GB, free: 48 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004088/0.6551, allocations: 1.198 MB / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/0.6769, allocations: 14.74 MB / 1.189 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/0.6777, allocations: 1.401 MB / 1.191 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001118/0.6788, allocations: 388 kB / 1.191 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007596/0.6796, allocations: 0.7687 MB / 1.192 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.6796, allocations: 0 / 1.192 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.911/5.591, allocations: 56.18 MB / 1.247 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/5.591, allocations: 260.2 kB / 1.247 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.621/9.213, allocations: 4 kB / 1.247 GB, free: 4.711 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