Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 216.7 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.231/3.231, allocations: 0.49 GB / 0.7959 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 72.5 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3812, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09271/0.4739, allocations: 78.91 MB / 1.404 GB, free: 2.734 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03148/0.5054, allocations: 18.98 MB / 1.422 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004971/0.5103, allocations: 154.7 kB / 1.422 GB, free: 15.56 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004538/0.5149, allocations: 1.312 MB / 1.424 GB, free: 14.24 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01317/0.528, allocations: 3.895 MB / 1.428 GB, free: 10.33 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006664/0.5347, allocations: 2.205 MB / 1.43 GB, free: 8.141 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.5461, allocations: 6.843 MB / 1.436 GB, free: 1.277 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003383/0.5495, allocations: 1.611 MB / 1.438 GB, free: 15.62 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007762/0.5572, allocations: 2.723 MB / 1.441 GB, free: 12.9 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004155/0.5614, allocations: 1.84 MB / 1.442 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007598/0.5622, allocations: 200 kB / 1.443 GB, free: 10.86 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005899/0.5681, allocations: 1.762 MB / 1.444 GB, free: 9.094 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.5693, allocations: 0.5602 MB / 1.445 GB, free: 8.531 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002913/0.5722, allocations: 1.264 MB / 1.446 GB, free: 7.262 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009138/0.5814, allocations: 3.854 MB / 1.45 GB, free: 3.395 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.5814, allocations: 0 / 1.45 GB, free: 3.395 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.016e-06/0.5814, allocations: 4 kB / 1.45 GB, free: 3.391 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001256/0.5815, allocations: 0 / 1.45 GB, free: 3.391 MB / 1.139 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.006784/0.5883, allocations: 2.719 MB / 1.452 GB, free: 0.6211 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.5883, allocations: 8.031 kB / 1.452 GB, free: 0.6133 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.44e-05/0.5884, allocations: 42.89 kB / 1.453 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000332/0.5887, allocations: 202.8 kB / 1.453 GB, free: 372 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.5897, allocations: 287.1 kB / 1.453 GB, free: 84 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/0.5943, allocations: 1.972 MB / 1.455 GB, free: 14.07 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.5944, allocations: 106.7 kB / 1.455 GB, free: 13.96 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/0.5947, allocations: 148 kB / 1.455 GB, free: 13.82 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00309/0.5978, allocations: 1.514 MB / 1.457 GB, free: 12.23 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.5978, allocations: 7.984 kB / 1.457 GB, free: 12.22 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.598, allocations: 52 kB / 1.457 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/0.598, allocations: 44 kB / 1.457 GB, free: 12.12 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.6005, allocations: 1.126 MB / 1.458 GB, free: 10.99 MB / 1.154 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.0116/0.6121, allocations: 7.846 MB / 1.466 GB, free: 2.492 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.6132, allocations: 448.9 kB / 1.466 GB, free: 2.047 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.6138, allocations: 314.2 kB / 1.466 GB, free: 1.738 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004387/0.6143, allocations: 104.4 kB / 1.466 GB, free: 1.637 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.6143, allocations: 43.06 kB / 1.466 GB, free: 1.586 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.956e-06/0.6143, allocations: 0 / 1.466 GB, free: 1.586 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.00264/0.617, allocations: 0.9682 MB / 1.467 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.617, allocations: 63.91 kB / 1.467 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/0.6199, allocations: 1.799 MB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.62, allocations: 37.7 kB / 1.469 GB, free: 14.65 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009573/0.621, allocations: 0.9568 MB / 1.47 GB, free: 13.69 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.6213, allocations: 230.1 kB / 1.47 GB, free: 13.46 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/0.6216, allocations: 226.8 kB / 1.471 GB, free: 13.24 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6218, allocations: 349.9 kB / 1.471 GB, free: 12.89 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007694/0.6226, allocations: 338.3 kB / 1.471 GB, free: 12.56 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.6237, allocations: 0.686 MB / 1.472 GB, free: 11.72 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.6255, allocations: 1.017 MB / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.6255, allocations: 4 kB / 1.473 GB, free: 10.56 MB / 1.17 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002702/0.6282, allocations: 1.223 MB / 1.474 GB, free: 9.332 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.6282, allocations: 12 kB / 1.474 GB, free: 9.32 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.6283, allocations: 12.03 kB / 1.474 GB, free: 9.309 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.6283, allocations: 16 kB / 1.474 GB, free: 9.293 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.6294, allocations: 287.6 kB / 1.474 GB, free: 9.012 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-05/0.6294, allocations: 23.92 kB / 1.474 GB, free: 8.988 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.631, allocations: 170.9 kB / 1.475 GB, free: 8.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.6311, allocations: 48 kB / 1.475 GB, free: 8.773 MB / 1.17 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.0009477/0.632, allocations: 441.4 kB / 1.475 GB, free: 8.332 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006347/0.6327, allocations: 202.7 kB / 1.475 GB, free: 8.133 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.6347, allocations: 0.8751 MB / 1.476 GB, free: 7.25 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.6348, allocations: 11.98 kB / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6348, allocations: 0 / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001403/0.6362, allocations: 0.8096 MB / 1.477 GB, free: 6.379 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005119/0.6413, allocations: 2.437 MB / 1.479 GB, free: 3.859 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.6413, allocations: 0 / 1.479 GB, free: 3.859 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/0.6421, allocations: 179.7 kB / 1.479 GB, free: 3.684 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.6421, allocations: 8.25 kB / 1.479 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.6422, allocations: 16 kB / 1.479 GB, free: 3.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/0.6422, allocations: 7.938 kB / 1.479 GB, free: 3.652 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6422, allocations: 4 kB / 1.479 GB, free: 3.648 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.6453, allocations: 1.367 MB / 1.481 GB, free: 2.238 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.6465, allocations: 294.4 kB / 1.481 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/0.6468, allocations: 23.92 kB / 1.481 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.6478, allocations: 59.92 kB / 1.481 GB, free: 1.867 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.648, allocations: 52.41 kB / 1.481 GB, free: 1.812 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.529e-05/0.6481, allocations: 39.92 kB / 1.481 GB, free: 1.773 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002254/0.6503, allocations: 1.251 MB / 1.482 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6503, allocations: 0 / 1.482 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002572/0.6529, allocations: 0.6588 MB / 1.483 GB, free: 15.84 MB / 1.186 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.004474/0.6574, allocations: 2.404 MB / 1.485 GB, free: 13.39 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.6594, allocations: 0.785 MB / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.6594, allocations: 8.438 kB / 1.486 GB, free: 12.6 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.6601, allocations: 342.5 kB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00627/0.6664, allocations: 1.195 MB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02401/0.6904, allocations: 12.69 MB / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.6916, allocations: 1.413 MB / 1.501 GB, free: 12.45 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001754/0.6934, allocations: 374.4 kB / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/0.6945, allocations: 0.7765 MB / 1.503 GB, free: 11.31 MB / 1.201 GB Notification: Performance of SimCode: time 1.663e-06/0.6945, allocations: 0 / 1.503 GB, free: 11.31 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/0.8107, allocations: 58.67 MB / 1.56 GB, free: 1.332 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/17.13, allocations: 8.047 kB / 1.56 GB, free: 1.324 MB / 1.248 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.264093716046773]