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.001686/0.001686, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001976/0.001976, allocations: 203.4 kB / 22.18 MB, free: 5.207 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.492/1.492, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.862/2.862, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 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: 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.003106/0.003106, allocations: 63.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.8822, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08969/0.9719, allocations: 78.46 MB / 1.351 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03303/1.005, allocations: 18.97 MB / 1.369 GB, free: 2.812 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004842/1.01, allocations: 119.2 kB / 1.369 GB, free: 2.695 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004514/1.014, allocations: 1.297 MB / 1.371 GB, free: 1.391 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01218/1.026, allocations: 3.814 MB / 1.374 GB, free: 13.56 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007705/1.034, allocations: 2.129 MB / 1.376 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01366/1.048, allocations: 6.704 MB / 1.383 GB, free: 4.727 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003363/1.051, allocations: 1.591 MB / 1.384 GB, free: 3.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006595/1.058, allocations: 2.388 MB / 1.387 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004158/1.062, allocations: 1.86 MB / 1.389 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000696/1.063, allocations: 196 kB / 1.389 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005639/1.068, allocations: 1.673 MB / 1.39 GB, free: 12.97 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/1.069, allocations: 0.5602 MB / 1.391 GB, free: 12.41 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002441/1.072, allocations: 1.248 MB / 1.392 GB, free: 11.15 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009202/1.081, allocations: 3.753 MB / 1.396 GB, free: 7.387 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/1.081, allocations: 4 kB / 1.396 GB, free: 7.383 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.946e-06/1.081, allocations: 0 / 1.396 GB, free: 7.383 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001213/1.081, allocations: 0 / 1.396 GB, free: 7.383 MB / 1.092 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.007017/1.088, allocations: 2.786 MB / 1.399 GB, free: 4.527 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.088, allocations: 8.031 kB / 1.399 GB, free: 4.52 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/1.089, allocations: 283.3 kB / 1.399 GB, free: 4.242 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/1.094, allocations: 2.039 MB / 1.401 GB, free: 2.156 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/1.094, allocations: 110.7 kB / 1.401 GB, free: 2.047 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002782/1.094, allocations: 144 kB / 1.401 GB, free: 1.906 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/1.097, allocations: 1.515 MB / 1.403 GB, free: 324 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/1.097, allocations: 7.984 kB / 1.403 GB, free: 316 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/1.097, allocations: 56 kB / 1.403 GB, free: 260 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-05/1.098, allocations: 40 kB / 1.403 GB, free: 220 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/1.1, allocations: 1.122 MB / 1.404 GB, free: 15.09 MB / 1.107 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.0106/1.111, allocations: 7.628 MB / 1.411 GB, free: 6.883 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/1.112, allocations: 448.5 kB / 1.412 GB, free: 6.434 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006862/1.112, allocations: 310.4 kB / 1.412 GB, free: 6.129 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/1.113, allocations: 1.156 MB / 1.413 GB, free: 4.715 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/1.113, allocations: 39.12 kB / 1.413 GB, free: 4.668 MB / 1.107 GB Notification: Performance of pre-optimization done (n=59): time 2.284e-06/1.113, allocations: 0 / 1.413 GB, free: 4.668 MB / 1.107 GB Notification: Performance of matching and sorting (n=59): time 0.002538/1.116, allocations: 0.9701 MB / 1.414 GB, free: 3.695 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/1.116, allocations: 59.97 kB / 1.414 GB, free: 3.625 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/1.119, allocations: 1.791 MB / 1.416 GB, free: 1.797 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/1.119, allocations: 41.7 kB / 1.416 GB, free: 1.75 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009101/1.12, allocations: 0.9412 MB / 1.417 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/1.12, allocations: 222.1 kB / 1.417 GB, free: 0.582 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/1.12, allocations: 230.8 kB / 1.417 GB, free: 360 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.121, allocations: 358 kB / 1.418 GB, free: 15.99 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007844/1.121, allocations: 330.4 kB / 1.418 GB, free: 15.67 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.123, allocations: 0.686 MB / 1.419 GB, free: 14.83 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/1.124, allocations: 1.012 MB / 1.42 GB, free: 13.68 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/1.124, allocations: 4 kB / 1.42 GB, free: 13.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002801/1.127, allocations: 1.23 MB / 1.421 GB, free: 12.44 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.127, allocations: 12.86 kB / 1.421 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/1.127, allocations: 12 kB / 1.421 GB, free: 12.42 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/1.127, allocations: 20 kB / 1.421 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/1.128, allocations: 283.6 kB / 1.421 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/1.128, allocations: 19.94 kB / 1.421 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/1.13, allocations: 166.9 kB / 1.421 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.479e-05/1.13, allocations: 55.98 kB / 1.421 GB, free: 11.88 MB / 1.123 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.000797/1.131, allocations: 445.3 kB / 1.422 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/1.131, allocations: 202.7 kB / 1.422 GB, free: 11.24 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/1.133, allocations: 0.8634 MB / 1.423 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.133, allocations: 4 kB / 1.423 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.133, allocations: 0 / 1.423 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001494/1.135, allocations: 0.8033 MB / 1.424 GB, free: 9.512 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/1.139, allocations: 2.451 MB / 1.426 GB, free: 6.961 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.139, allocations: 4 kB / 1.426 GB, free: 6.957 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008422/1.14, allocations: 175.7 kB / 1.426 GB, free: 6.785 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/1.14, allocations: 4.25 kB / 1.426 GB, free: 6.781 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/1.14, allocations: 20 kB / 1.426 GB, free: 6.762 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.14, allocations: 7.938 kB / 1.426 GB, free: 6.754 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.14, allocations: 7.984 kB / 1.426 GB, free: 6.746 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/1.143, allocations: 1.345 MB / 1.428 GB, free: 5.359 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009234/1.144, allocations: 375.5 kB / 1.428 GB, free: 4.973 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/1.144, allocations: 19.98 kB / 1.428 GB, free: 4.953 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.145, allocations: 63.86 kB / 1.428 GB, free: 4.891 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.146, allocations: 48.5 kB / 1.428 GB, free: 4.844 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/1.146, allocations: 35.97 kB / 1.428 GB, free: 4.809 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002026/1.148, allocations: 1.235 MB / 1.429 GB, free: 3.555 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.01e-07/1.148, allocations: 0 / 1.429 GB, free: 3.555 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002202/1.15, allocations: 0.6626 MB / 1.43 GB, free: 2.891 MB / 1.123 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.001459/1.151, allocations: 0.6192 MB / 1.43 GB, free: 2.27 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002092/1.153, allocations: 0.7842 MB / 1.431 GB, free: 1.484 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.153, allocations: 4 kB / 1.431 GB, free: 1.48 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007617/1.154, allocations: 328.4 kB / 1.432 GB, free: 1.164 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006273/1.16, allocations: 1.203 MB / 1.433 GB, free: 15.98 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006669/1.167, allocations: 3.12 MB / 1.436 GB, free: 12.8 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.168, allocations: 1.405 MB / 1.437 GB, free: 11.36 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001853/1.17, allocations: 377.9 kB / 1.438 GB, free: 11 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/1.171, allocations: 163.3 kB / 1.438 GB, free: 10.84 MB / 1.139 GB Notification: Performance of SimCode: time 1.904e-06/1.171, allocations: 0 / 1.438 GB, free: 10.84 MB / 1.139 GB Notification: Performance of Templates: time 0.07822/1.249, allocations: 42.5 MB / 1.479 GB, free: 0.8672 MB / 1.17 GB " [Timeout remaining time 299] 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 -s cvode -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/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: 10.433472960721701]