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.001858/0.001858, allocations: 113 kB / 17.6 MB, free: 4.684 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.002201/0.002201, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.877/2.877, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 67.89 kB / 1.107 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.111, allocations: 168.7 MB / 1.272 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09458/1.205, allocations: 78.46 MB / 1.349 GB, free: 108 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03542/1.241, allocations: 18.96 MB / 1.367 GB, free: 2.496 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007952/1.249, allocations: 113 kB / 1.367 GB, free: 2.453 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005935/1.255, allocations: 1.302 MB / 1.368 GB, free: 1.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01633/1.271, allocations: 3.811 MB / 1.372 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008108/1.279, allocations: 2.144 MB / 1.374 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01344/1.293, allocations: 6.704 MB / 1.381 GB, free: 9.871 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004201/1.297, allocations: 1.588 MB / 1.382 GB, free: 8.695 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007943/1.305, allocations: 2.377 MB / 1.385 GB, free: 7.297 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005048/1.31, allocations: 1.854 MB / 1.387 GB, free: 6.164 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001081/1.311, allocations: 199.7 kB / 1.387 GB, free: 6.164 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007739/1.319, allocations: 1.673 MB / 1.388 GB, free: 5.262 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001551/1.32, allocations: 0.5709 MB / 1.389 GB, free: 4.805 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00471/1.325, allocations: 1.243 MB / 1.39 GB, free: 3.992 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/1.338, allocations: 3.747 MB / 1.394 GB, free: 1.512 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.338, allocations: 1.281 kB / 1.394 GB, free: 1.512 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.404e-06/1.338, allocations: 0 / 1.394 GB, free: 1.512 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000165/1.339, allocations: 3.938 kB / 1.394 GB, free: 1.508 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.009905/1.348, allocations: 2.781 MB / 1.397 GB, free: 15.43 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/1.349, allocations: 9.406 kB / 1.397 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/1.35, allocations: 288.8 kB / 1.397 GB, free: 15.28 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005706/1.356, allocations: 2.043 MB / 1.399 GB, free: 13.74 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/1.356, allocations: 106 kB / 1.399 GB, free: 13.69 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/1.356, allocations: 143 kB / 1.399 GB, free: 13.64 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/1.36, allocations: 1.515 MB / 1.401 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/1.36, allocations: 5.219 kB / 1.401 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/1.36, allocations: 57.89 kB / 1.401 GB, free: 12.63 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/1.36, allocations: 40.41 kB / 1.401 GB, free: 12.63 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/1.362, allocations: 1.129 MB / 1.402 GB, free: 12.06 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.01067/1.373, allocations: 7.612 MB / 1.409 GB, free: 5.203 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/1.374, allocations: 455.3 kB / 1.41 GB, free: 4.969 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/1.375, allocations: 308.8 kB / 1.41 GB, free: 4.82 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.376, allocations: 1.155 MB / 1.411 GB, free: 3.465 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/1.376, allocations: 39.06 kB / 1.411 GB, free: 3.422 MB / 1.092 GB Notification: Performance of pre-optimization done (n=59): time 2.705e-06/1.376, allocations: 0 / 1.411 GB, free: 3.422 MB / 1.092 GB Notification: Performance of matching and sorting (n=59): time 0.002526/1.378, allocations: 0.9775 MB / 1.412 GB, free: 2.938 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.378, allocations: 57.84 kB / 1.412 GB, free: 2.875 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/1.381, allocations: 1.788 MB / 1.414 GB, free: 1.883 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/1.381, allocations: 43.92 kB / 1.414 GB, free: 1.84 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008966/1.382, allocations: 0.9427 MB / 1.415 GB, free: 1.004 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/1.382, allocations: 231.6 kB / 1.415 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/1.383, allocations: 230.2 kB / 1.415 GB, free: 0.668 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.383, allocations: 356.1 kB / 1.416 GB, free: 332 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/1.383, allocations: 328.2 kB / 1.416 GB, free: 172 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/1.385, allocations: 0.6869 MB / 1.417 GB, free: 15.55 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/1.386, allocations: 1.013 MB / 1.418 GB, free: 14.49 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.386, allocations: 4 kB / 1.418 GB, free: 14.49 MB / 1.107 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002661/1.389, allocations: 1.227 MB / 1.419 GB, free: 13.26 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.389, allocations: 8 kB / 1.419 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/1.389, allocations: 12 kB / 1.419 GB, free: 13.24 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/1.389, allocations: 16 kB / 1.419 GB, free: 13.22 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.39, allocations: 295.9 kB / 1.419 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.969e-05/1.39, allocations: 23.92 kB / 1.419 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/1.392, allocations: 158.9 kB / 1.419 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/1.392, allocations: 51.98 kB / 1.419 GB, free: 12.7 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.0008773/1.393, allocations: 445.3 kB / 1.42 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004925/1.393, allocations: 206.7 kB / 1.42 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/1.395, allocations: 0.8597 MB / 1.421 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/1.395, allocations: 4 kB / 1.421 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.395, allocations: 8 kB / 1.421 GB, free: 11.17 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001352/1.396, allocations: 0.7878 MB / 1.421 GB, free: 10.33 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004751/1.401, allocations: 2.455 MB / 1.424 GB, free: 7.781 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.401, allocations: 7.938 kB / 1.424 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008151/1.402, allocations: 188 kB / 1.424 GB, free: 7.59 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/1.402, allocations: 4 kB / 1.424 GB, free: 7.586 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/1.402, allocations: 19.98 kB / 1.424 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/1.402, allocations: 4 kB / 1.424 GB, free: 7.562 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.402, allocations: 3.938 kB / 1.424 GB, free: 7.559 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/1.405, allocations: 1.341 MB / 1.425 GB, free: 6.176 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.406, allocations: 383.5 kB / 1.426 GB, free: 5.781 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/1.406, allocations: 15.94 kB / 1.426 GB, free: 5.766 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009993/1.407, allocations: 71.8 kB / 1.426 GB, free: 5.695 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.408, allocations: 40.5 kB / 1.426 GB, free: 5.656 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.72e-05/1.408, allocations: 43.97 kB / 1.426 GB, free: 5.613 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00219/1.41, allocations: 1.239 MB / 1.427 GB, free: 4.355 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/1.41, allocations: 0 / 1.427 GB, free: 4.355 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002598/1.412, allocations: 0.6625 MB / 1.428 GB, free: 3.691 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.001924/1.414, allocations: 0.6176 MB / 1.428 GB, free: 3.082 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002103/1.417, allocations: 0.7736 MB / 1.429 GB, free: 2.309 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.417, allocations: 4 kB / 1.429 GB, free: 2.305 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007774/1.417, allocations: 339 kB / 1.429 GB, free: 1.977 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006086/1.423, allocations: 1.202 MB / 1.431 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005681/1.429, allocations: 3.12 MB / 1.434 GB, free: 13.61 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.43, allocations: 1.405 MB / 1.435 GB, free: 12.17 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001653/1.432, allocations: 392.3 kB / 1.435 GB, free: 11.79 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/1.432, allocations: 147.4 kB / 1.436 GB, free: 11.65 MB / 1.123 GB Notification: Performance of SimCode: time 1.283e-06/1.432, allocations: 0 / 1.436 GB, free: 11.65 MB / 1.123 GB Notification: Performance of Templates: time 0.07898/1.511, allocations: 42.51 MB / 1.477 GB, free: 1.66 MB / 1.154 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.007871863432229]