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.0007484/0.0007484, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001819, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007046/0.0007046, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000952/0.001657, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9083/0.9083, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08425/0.9926, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.782/1.782, allocations: 378.3 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4497/2.231, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: 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_12_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_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.469e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01704/0.01706, allocations: 21.17 MB / 0.7503 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.03, allocations: 9.019 MB / 0.7592 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.03196, allocations: 152 kB / 0.7593 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009781/0.03294, allocations: 0.6941 MB / 0.76 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.03652, allocations: 2.446 MB / 0.7624 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.03933, allocations: 2.027 MB / 0.7643 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.005351/0.04468, allocations: 6.666 MB / 0.7709 GB, free: 10.25 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.04685, allocations: 1.706 MB / 0.7725 GB, free: 8.52 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.0506, allocations: 3.342 MB / 0.7758 GB, free: 5.195 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.05222, allocations: 1.512 MB / 0.7773 GB, free: 3.68 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.05248, allocations: 196 kB / 0.7774 GB, free: 3.488 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007365/0.05321, allocations: 413.1 kB / 0.7778 GB, free: 3.086 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.05352, allocations: 474.1 kB / 0.7783 GB, free: 2.621 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.000602/0.05412, allocations: 0.7252 MB / 0.779 GB, free: 1.895 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.05564, allocations: 1.802 MB / 0.7808 GB, free: 88 kB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.05566, allocations: 1.031 kB / 0.7808 GB, free: 88 kB / 0.7449 GB Notification: Performance of FrontEnd: time 1.283e-06/0.05566, allocations: 0 / 0.7808 GB, free: 88 kB / 0.7449 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.05568, allocations: 0 / 0.7808 GB, free: 88 kB / 0.7449 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.002238/0.05791, allocations: 3.055 MB / 0.7837 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.05794, allocations: 8.031 kB / 0.7838 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.05832, allocations: 320.3 kB / 0.7841 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.05971, allocations: 1.355 MB / 0.7854 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.05977, allocations: 110.7 kB / 0.7855 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.05989, allocations: 148 kB / 0.7856 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009669/0.06086, allocations: 1.31 MB / 0.7869 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.06088, allocations: 6.469 kB / 0.7869 GB, free: 9.523 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.06095, allocations: 59.98 kB / 0.787 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.06098, allocations: 43.94 kB / 0.787 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.06143, allocations: 392.5 kB / 0.7874 GB, free: 9.023 MB / 0.7605 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.003071/0.0645, allocations: 4.228 MB / 0.7915 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.06478, allocations: 263.3 kB / 0.7918 GB, free: 4.402 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.06489, allocations: 115 kB / 0.7919 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-05/0.06497, allocations: 36.47 kB / 0.7919 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.06499, allocations: 44.12 kB / 0.792 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=59): time 1.402e-06/0.065, allocations: 0 / 0.792 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59): time 0.000414/0.06541, allocations: 361.9 kB / 0.7923 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.06544, allocations: 64.81 kB / 0.7924 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009338/0.06637, allocations: 1.274 MB / 0.7936 GB, free: 2.496 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.06642, allocations: 37.7 kB / 0.7936 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.06674, allocations: 0.7243 MB / 0.7943 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.06685, allocations: 230.1 kB / 0.7946 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.06703, allocations: 231.2 kB / 0.7948 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.06712, allocations: 347 kB / 0.7951 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.0673, allocations: 125.4 kB / 0.7952 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.06771, allocations: 0.7593 MB / 0.796 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.06827, allocations: 0.6986 MB / 0.7967 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.06827, allocations: 4 kB / 0.7967 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006429/0.06891, allocations: 0.6657 MB / 0.7973 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.06893, allocations: 13.09 kB / 0.7973 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.06894, allocations: 8 kB / 0.7973 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.06895, allocations: 16.75 kB / 0.7974 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.06944, allocations: 291.6 kB / 0.7976 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.06946, allocations: 23.92 kB / 0.7977 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.06984, allocations: 123.2 kB / 0.7978 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.06989, allocations: 39.98 kB / 0.7978 GB, free: 13.8 MB / 0.7761 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.0002065/0.07009, allocations: 188.2 kB / 0.798 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.07021, allocations: 123.8 kB / 0.7981 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.07064, allocations: 436.2 kB / 0.7985 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.07065, allocations: 11.98 kB / 0.7985 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.07066, allocations: 4 kB / 0.7985 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002474/0.0709, allocations: 385.2 kB / 0.7989 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.07214, allocations: 1.298 MB / 0.8002 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.07215, allocations: 4 kB / 0.8002 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.07249, allocations: 175.8 kB / 0.8003 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.07274, allocations: 214.6 kB / 0.8005 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.07274, allocations: 4 kB / 0.8006 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.07277, allocations: 19.98 kB / 0.8006 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.07277, allocations: 4 kB / 0.8006 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.07277, allocations: 7.969 kB / 0.8006 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.07331, allocations: 0.6501 MB / 0.8012 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/0.0734, allocations: 15.98 kB / 0.8012 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.07373, allocations: 47.86 kB / 0.8013 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.0738, allocations: 56.28 kB / 0.8013 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.07383, allocations: 23.97 kB / 0.8014 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004446/0.07427, allocations: 0.6376 MB / 0.802 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.07427, allocations: 4 kB / 0.802 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000654/0.07493, allocations: 0.5223 MB / 0.8025 GB, free: 8.828 MB / 0.7761 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.0002555/0.07518, allocations: 184 kB / 0.8027 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.07562, allocations: 454.3 kB / 0.8031 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.687e-05/0.07564, allocations: 24.97 kB / 0.8031 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.07588, allocations: 223.2 kB / 0.8033 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.07932, allocations: 6.325 MB / 0.8095 GB, free: 448 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008637/0.08796, allocations: 2.772 MB / 0.8122 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.08816, allocations: 324 kB / 0.8125 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005458/0.08871, allocations: 280.3 kB / 0.8128 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.08975, allocations: 0.6296 MB / 0.8134 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of SimCode: time 3.51e-07/0.08975, allocations: 0 / 0.8134 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of Templates: time 0.03575/0.1255, allocations: 35.05 MB / 0.8476 GB, free: 10.15 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.342364381067455]