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.00456/0.00456, allocations: 104 kB / 15.74 MB, free: 6.02 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.001208/0.001208, allocations: 189.2 kB / 16.67 MB, free: 5.938 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.581/2.581, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 67.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6956, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07827/0.7739, allocations: 77.16 MB / 1.296 GB, free: 4.594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.8004, allocations: 18.89 MB / 1.314 GB, free: 1.656 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003276/0.8038, allocations: 107.4 kB / 1.314 GB, free: 1.551 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.8073, allocations: 1.246 MB / 1.315 GB, free: 304 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009806/0.8171, allocations: 3.635 MB / 1.319 GB, free: 12.65 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005354/0.8225, allocations: 2.096 MB / 1.321 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.009417/0.832, allocations: 6.674 MB / 1.327 GB, free: 3.879 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003279/0.8353, allocations: 2.094 MB / 1.329 GB, free: 1.734 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005293/0.8406, allocations: 2.317 MB / 1.332 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.8438, allocations: 1.75 MB / 1.333 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.8442, allocations: 200 kB / 1.334 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.8483, allocations: 1.626 MB / 1.335 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006112/0.8489, allocations: 0.5294 MB / 1.336 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.8506, allocations: 1.256 MB / 1.337 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005504/0.8561, allocations: 3.748 MB / 1.341 GB, free: 6.289 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.8561, allocations: 0 / 1.341 GB, free: 6.289 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8561, allocations: 0 / 1.341 GB, free: 6.289 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.968e-05/0.8561, allocations: 0 / 1.341 GB, free: 6.289 MB / 1.061 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.004369/0.8605, allocations: 2.786 MB / 1.343 GB, free: 3.434 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8606, allocations: 11.97 kB / 1.343 GB, free: 3.422 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002725/0.8608, allocations: 202.8 kB / 1.344 GB, free: 3.215 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006818/0.8615, allocations: 279.3 kB / 1.344 GB, free: 2.941 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/0.8647, allocations: 2.04 MB / 1.346 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-05/0.8648, allocations: 106.7 kB / 1.346 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.865, allocations: 140 kB / 1.346 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.8676, allocations: 1.52 MB / 1.348 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.8677, allocations: 4 kB / 1.348 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.8678, allocations: 56 kB / 1.348 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/0.8678, allocations: 43.98 kB / 1.348 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.8701, allocations: 1.122 MB / 1.349 GB, free: 13.78 MB / 1.076 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.008535/0.8786, allocations: 7.632 MB / 1.356 GB, free: 5.574 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.8796, allocations: 480.5 kB / 1.357 GB, free: 5.094 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006677/0.8803, allocations: 326.4 kB / 1.357 GB, free: 4.773 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009717/0.8813, allocations: 1.152 MB / 1.358 GB, free: 3.363 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.8813, allocations: 39.12 kB / 1.358 GB, free: 3.316 MB / 1.076 GB Notification: Performance of pre-optimization done (n=59): time 4.92e-06/0.8814, allocations: 3.984 kB / 1.358 GB, free: 3.312 MB / 1.076 GB Notification: Performance of matching and sorting (n=59): time 0.002284/0.8837, allocations: 0.9701 MB / 1.359 GB, free: 2.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.8837, allocations: 59.97 kB / 1.359 GB, free: 2.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.886, allocations: 1.787 MB / 1.361 GB, free: 456 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.8861, allocations: 37.7 kB / 1.361 GB, free: 412 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008424/0.8869, allocations: 0.9529 MB / 1.362 GB, free: 15.44 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.8872, allocations: 222.1 kB / 1.362 GB, free: 15.22 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003134/0.8875, allocations: 230.8 kB / 1.362 GB, free: 14.99 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8876, allocations: 353.8 kB / 1.363 GB, free: 14.64 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007085/0.8884, allocations: 334.3 kB / 1.363 GB, free: 14.31 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.8894, allocations: 0.686 MB / 1.364 GB, free: 13.47 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.8911, allocations: 1.008 MB / 1.365 GB, free: 12.33 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8911, allocations: 3.938 kB / 1.365 GB, free: 12.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002311/0.8935, allocations: 1.23 MB / 1.366 GB, free: 11.09 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8935, allocations: 12 kB / 1.366 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.8935, allocations: 8 kB / 1.366 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.8935, allocations: 16 kB / 1.366 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.8946, allocations: 288.1 kB / 1.366 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.8946, allocations: 23.92 kB / 1.366 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.8957, allocations: 166.9 kB / 1.366 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.049e-05/0.8958, allocations: 52 kB / 1.366 GB, free: 10.53 MB / 1.092 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.0006746/0.8965, allocations: 448.4 kB / 1.367 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.8968, allocations: 202.7 kB / 1.367 GB, free: 9.887 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.8986, allocations: 0.8753 MB / 1.368 GB, free: 9.004 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.8986, allocations: 11.98 kB / 1.368 GB, free: 8.992 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8986, allocations: 0 / 1.368 GB, free: 8.992 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00139/0.9, allocations: 0.7918 MB / 1.369 GB, free: 8.152 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/0.9039, allocations: 2.447 MB / 1.371 GB, free: 5.609 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.9039, allocations: 4 kB / 1.371 GB, free: 5.605 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000767/0.9047, allocations: 180 kB / 1.371 GB, free: 5.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.9047, allocations: 4 kB / 1.371 GB, free: 5.426 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.9048, allocations: 23.98 kB / 1.371 GB, free: 5.402 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.9048, allocations: 7.938 kB / 1.371 GB, free: 5.395 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9048, allocations: 0 / 1.371 GB, free: 5.395 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.9072, allocations: 1.357 MB / 1.372 GB, free: 3.988 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.9077, allocations: 371.5 kB / 1.373 GB, free: 3.605 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.908, allocations: 16 kB / 1.373 GB, free: 3.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008935/0.9089, allocations: 59.92 kB / 1.373 GB, free: 3.531 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.909, allocations: 52.44 kB / 1.373 GB, free: 3.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.909, allocations: 39.97 kB / 1.373 GB, free: 3.441 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001633/0.9107, allocations: 1.243 MB / 1.374 GB, free: 2.18 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9107, allocations: 0 / 1.374 GB, free: 2.18 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001495/0.9122, allocations: 0.6587 MB / 1.375 GB, free: 1.52 MB / 1.092 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.003718/0.9159, allocations: 2.398 MB / 1.377 GB, free: 15.09 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.9176, allocations: 0.82 MB / 1.378 GB, free: 14.27 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9176, allocations: 0 / 1.378 GB, free: 14.27 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007357/0.9183, allocations: 358.9 kB / 1.378 GB, free: 13.92 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004699/0.923, allocations: 1.194 MB / 1.38 GB, free: 12.75 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/0.9413, allocations: 12.63 MB / 1.392 GB, free: 15.6 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.9424, allocations: 1.409 MB / 1.393 GB, free: 14.16 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001378/0.9438, allocations: 382.5 kB / 1.394 GB, free: 13.79 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000968/0.9448, allocations: 0.7726 MB / 1.394 GB, free: 13.02 MB / 1.123 GB Notification: Performance of SimCode: time 8.42e-07/0.9448, allocations: 0 / 1.394 GB, free: 13.02 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.495/3.44, allocations: 57.6 MB / 1.451 GB, free: 4.082 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/20.59, allocations: 10.23 kB / 1.451 GB, free: 4.074 MB / 1.17 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