Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_11_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.001332/0.001332, 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.001265/0.001265, allocations: 193.4 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.611/2.611, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 69.05 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2545, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07291/0.3274, allocations: 77.16 MB / 1.139 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02501/0.3525, allocations: 18.9 MB / 1.158 GB, free: 13.85 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.3557, allocations: 111.3 kB / 1.158 GB, free: 13.74 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.3586, allocations: 1.254 MB / 1.159 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008202/0.3668, allocations: 3.622 MB / 1.163 GB, free: 8.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.3713, allocations: 2.073 MB / 1.165 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007631/0.3789, allocations: 6.677 MB / 1.171 GB, free: 96 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.3816, allocations: 2.083 MB / 1.173 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004335/0.3859, allocations: 2.313 MB / 1.176 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.3882, allocations: 1.754 MB / 1.177 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003236/0.3886, allocations: 200 kB / 1.177 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.3919, allocations: 1.618 MB / 1.179 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004976/0.3924, allocations: 0.5332 MB / 1.18 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.3937, allocations: 1.244 MB / 1.181 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004225/0.398, allocations: 3.696 MB / 1.184 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.398, allocations: 4 kB / 1.184 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.398, allocations: 0 / 1.184 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.398, allocations: 0 / 1.184 GB, free: 2.578 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.003787/0.4018, allocations: 2.707 MB / 1.187 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.4018, allocations: 8.031 kB / 1.187 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/0.4021, allocations: 202.8 kB / 1.187 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.4027, allocations: 265.9 kB / 1.188 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.4053, allocations: 1.906 MB / 1.189 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/0.4054, allocations: 102.7 kB / 1.189 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.4056, allocations: 148 kB / 1.19 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.4079, allocations: 1.524 MB / 1.191 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.4079, allocations: 3.938 kB / 1.191 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.4081, allocations: 60 kB / 1.191 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.4081, allocations: 39.98 kB / 1.191 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.4103, allocations: 1.122 MB / 1.192 GB, free: 10.29 MB / 0.9512 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.007588/0.4179, allocations: 7.653 MB / 1.2 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009396/0.4188, allocations: 480.6 kB / 1.2 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006235/0.4195, allocations: 338.2 kB / 1.201 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008847/0.4204, allocations: 1.148 MB / 1.202 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.4204, allocations: 39.12 kB / 1.202 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 1.983e-06/0.4204, allocations: 0 / 1.202 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002142/0.4226, allocations: 0.969 MB / 1.203 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.4226, allocations: 59.97 kB / 1.203 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.4248, allocations: 1.783 MB / 1.204 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/0.4248, allocations: 49.62 kB / 1.205 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007956/0.4256, allocations: 0.9278 MB / 1.205 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.4259, allocations: 216.9 kB / 1.206 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.4262, allocations: 226.7 kB / 1.206 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4264, allocations: 353.9 kB / 1.206 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.4271, allocations: 330.4 kB / 1.206 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/0.4281, allocations: 0.6821 MB / 1.207 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.4297, allocations: 1.02 MB / 1.208 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4297, allocations: 4 kB / 1.208 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002174/0.4319, allocations: 1.209 MB / 1.209 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.4319, allocations: 14.44 kB / 1.209 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.4319, allocations: 11.94 kB / 1.209 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.4319, allocations: 23.98 kB / 1.209 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009643/0.4329, allocations: 287.6 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.652e-05/0.4329, allocations: 23.92 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.434, allocations: 170.4 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.4341, allocations: 52 kB / 1.21 GB, free: 7.035 MB / 0.9669 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.0006449/0.4347, allocations: 441.3 kB / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.435, allocations: 189.7 kB / 1.21 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.4367, allocations: 0.8561 MB / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.4368, allocations: 8 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4368, allocations: 0 / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001318/0.4381, allocations: 0.8034 MB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.4418, allocations: 2.455 MB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4418, allocations: 0 / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/0.4426, allocations: 184 kB / 1.215 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.4426, allocations: 4 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.4426, allocations: 19.98 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4426, allocations: 4 kB / 1.215 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4426, allocations: 4 kB / 1.215 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.445, allocations: 1.335 MB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005369/0.4455, allocations: 366.5 kB / 1.216 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.4457, allocations: 16 kB / 1.216 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008817/0.4466, allocations: 63.92 kB / 1.216 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4467, allocations: 56.38 kB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/0.4468, allocations: 35.97 kB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001592/0.4484, allocations: 1.243 MB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4484, allocations: 4 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001512/0.4499, allocations: 0.6513 MB / 1.218 GB, free: 14.09 MB / 0.9825 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.00355/0.4535, allocations: 2.394 MB / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001893/0.4554, allocations: 0.8864 MB / 1.222 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4554, allocations: 4 kB / 1.222 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006955/0.4561, allocations: 359.4 kB / 1.222 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/0.4608, allocations: 1.198 MB / 1.223 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/0.4815, allocations: 14.22 MB / 1.237 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009987/0.4826, allocations: 1.413 MB / 1.238 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001428/0.484, allocations: 374.5 kB / 1.239 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009132/0.4849, allocations: 0.7687 MB / 1.24 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.4849, allocations: 0 / 1.24 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.743/3.228, allocations: 57.31 MB / 1.295 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/17.9, allocations: 0 / 1.295 GB, free: 160.2 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches