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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 112 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.768/2.768, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002835/0.002835, allocations: 71.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7806, allocations: 168.7 MB / 1.272 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07931/0.8599, allocations: 78.46 MB / 1.348 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02816/0.8881, allocations: 18.97 MB / 1.367 GB, free: 2.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003524/0.8916, allocations: 110.4 kB / 1.367 GB, free: 2.211 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.8947, allocations: 1.294 MB / 1.368 GB, free: 1.445 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009942/0.9047, allocations: 3.817 MB / 1.372 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005534/0.9102, allocations: 2.141 MB / 1.374 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009442/0.9196, allocations: 6.704 MB / 1.38 GB, free: 9.684 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.9221, allocations: 1.591 MB / 1.382 GB, free: 8.508 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00552/0.9276, allocations: 2.373 MB / 1.384 GB, free: 7.113 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003333/0.9309, allocations: 1.853 MB / 1.386 GB, free: 5.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003434/0.9313, allocations: 199.6 kB / 1.386 GB, free: 5.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.9354, allocations: 1.669 MB / 1.388 GB, free: 5.082 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005937/0.936, allocations: 0.5711 MB / 1.388 GB, free: 4.625 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.9375, allocations: 1.25 MB / 1.39 GB, free: 3.805 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005489/0.943, allocations: 3.742 MB / 1.393 GB, free: 1.328 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.943, allocations: 0 / 1.393 GB, free: 1.328 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.262e-06/0.943, allocations: 1.156 kB / 1.393 GB, free: 1.328 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.293e-05/0.943, allocations: 4 kB / 1.393 GB, free: 1.324 MB / 1.076 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.004619/0.9476, allocations: 2.789 MB / 1.396 GB, free: 15.24 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.9477, allocations: 13.8 kB / 1.396 GB, free: 15.23 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002566/0.9479, allocations: 201.6 kB / 1.396 GB, free: 15.07 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007295/0.9487, allocations: 277.2 kB / 1.397 GB, free: 14.94 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/0.952, allocations: 2.035 MB / 1.399 GB, free: 13.4 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.05e-05/0.9521, allocations: 113 kB / 1.399 GB, free: 13.35 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.9523, allocations: 143.7 kB / 1.399 GB, free: 13.3 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.9549, allocations: 1.515 MB / 1.4 GB, free: 12.34 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.9549, allocations: 5.344 kB / 1.4 GB, free: 12.33 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.9551, allocations: 61.86 kB / 1.4 GB, free: 12.29 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.9551, allocations: 37.12 kB / 1.4 GB, free: 12.29 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.9575, allocations: 1.124 MB / 1.401 GB, free: 11.72 MB / 1.092 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.008471/0.9659, allocations: 7.62 MB / 1.409 GB, free: 4.855 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009863/0.9669, allocations: 451.9 kB / 1.409 GB, free: 4.625 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006555/0.9676, allocations: 311.7 kB / 1.41 GB, free: 4.473 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009766/0.9685, allocations: 1.152 MB / 1.411 GB, free: 3.121 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.9686, allocations: 43.44 kB / 1.411 GB, free: 3.074 MB / 1.092 GB Notification: Performance of pre-optimization done (n=59): time 2.074e-06/0.9686, allocations: 3.938 kB / 1.411 GB, free: 3.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=59): time 0.002304/0.9709, allocations: 0.9733 MB / 1.412 GB, free: 2.59 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.9709, allocations: 58.12 kB / 1.412 GB, free: 2.527 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.9732, allocations: 1.787 MB / 1.414 GB, free: 1.535 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.9733, allocations: 48.12 kB / 1.414 GB, free: 1.488 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000854/0.9741, allocations: 0.9429 MB / 1.415 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.9743, allocations: 219.9 kB / 1.415 GB, free: 476 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003052/0.9747, allocations: 229.4 kB / 1.415 GB, free: 336 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.9748, allocations: 352.9 kB / 1.415 GB, free: 15.99 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/0.9756, allocations: 332.1 kB / 1.416 GB, free: 15.83 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.9766, allocations: 0.6909 MB / 1.416 GB, free: 15.21 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.9784, allocations: 1.009 MB / 1.417 GB, free: 14.28 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.9784, allocations: 4 kB / 1.417 GB, free: 14.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002503/0.9809, allocations: 1.226 MB / 1.418 GB, free: 13.05 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.9809, allocations: 8.875 kB / 1.418 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.9809, allocations: 12 kB / 1.418 GB, free: 13.03 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.981, allocations: 20 kB / 1.418 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.982, allocations: 291.5 kB / 1.419 GB, free: 12.72 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.982, allocations: 19.94 kB / 1.419 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.9834, allocations: 166.9 kB / 1.419 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.9835, allocations: 51.98 kB / 1.419 GB, free: 12.49 MB / 1.107 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.0007449/0.9843, allocations: 441.3 kB / 1.419 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.9846, allocations: 206.7 kB / 1.42 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.9865, allocations: 0.8686 MB / 1.42 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.9865, allocations: 8 kB / 1.42 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9865, allocations: 0 / 1.42 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001489/0.988, allocations: 0.7918 MB / 1.421 GB, free: 10.11 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004255/0.9923, allocations: 2.459 MB / 1.424 GB, free: 7.559 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.9923, allocations: 8 kB / 1.424 GB, free: 7.551 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008155/0.9931, allocations: 175.7 kB / 1.424 GB, free: 7.379 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/0.9931, allocations: 4 kB / 1.424 GB, free: 7.375 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.9931, allocations: 20.22 kB / 1.424 GB, free: 7.355 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.9931, allocations: 7.938 kB / 1.424 GB, free: 7.348 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.9932, allocations: 7.938 kB / 1.424 GB, free: 7.34 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.9957, allocations: 1.349 MB / 1.425 GB, free: 5.949 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006274/0.9963, allocations: 375.5 kB / 1.426 GB, free: 5.562 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.9966, allocations: 19.94 kB / 1.426 GB, free: 5.543 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.9976, allocations: 67.89 kB / 1.426 GB, free: 5.477 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.9977, allocations: 48.5 kB / 1.426 GB, free: 5.43 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.9977, allocations: 35.97 kB / 1.426 GB, free: 5.395 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001753/0.9995, allocations: 1.239 MB / 1.427 GB, free: 4.137 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9995, allocations: 0 / 1.427 GB, free: 4.137 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00179/1.001, allocations: 0.6626 MB / 1.428 GB, free: 3.473 MB / 1.107 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.003939/1.005, allocations: 2.395 MB / 1.43 GB, free: 1.039 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001711/1.007, allocations: 0.7805 MB / 1.431 GB, free: 264 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.007, allocations: 0 / 1.431 GB, free: 264 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007531/1.008, allocations: 336.4 kB / 1.431 GB, free: 15.93 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005008/1.013, allocations: 1.202 MB / 1.432 GB, free: 14.75 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/1.032, allocations: 12.65 MB / 1.444 GB, free: 1.594 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.033, allocations: 1.405 MB / 1.446 GB, free: 156 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001368/1.035, allocations: 378.8 kB / 1.446 GB, free: 15.79 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.036, allocations: 0.7648 MB / 1.447 GB, free: 15.02 MB / 1.139 GB Notification: Performance of SimCode: time 7.02e-07/1.036, allocations: 0 / 1.447 GB, free: 15.02 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/1.14, allocations: 57.91 MB / 1.504 GB, free: 5.758 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.46, allocations: 0 / 1.504 GB, free: 5.758 MB / 1.186 GB " [Timeout remaining time 287] (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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.360660898004426]