Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001044/0.001044, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001519/0.002563, 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.001034/0.001034, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002443, 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.8959/0.8959, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08378/0.9797, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.786/1.786, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4757/2.261, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.324e-05, allocations: 3.844 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01063/0.01065, allocations: 13.26 MB / 0.7426 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.007129/0.01778, allocations: 5.985 MB / 0.7485 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007304/0.01851, allocations: 79.88 kB / 0.7485 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.01908, allocations: 378 kB / 0.7489 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.02088, allocations: 1.354 MB / 0.7502 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.02261, allocations: 1.223 MB / 0.7514 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002562/0.02517, allocations: 3.391 MB / 0.7547 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.02631, allocations: 0.8703 MB / 0.7556 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.02792, allocations: 1.694 MB / 0.7572 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007608/0.02868, allocations: 0.7599 MB / 0.758 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.02881, allocations: 100.9 kB / 0.7581 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.02936, allocations: 295.5 kB / 0.7583 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.02953, allocations: 247.7 kB / 0.7586 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.02984, allocations: 371.3 kB / 0.7589 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009246/0.03077, allocations: 0.9815 MB / 0.7599 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.349e-05/0.03078, allocations: 0 / 0.7599 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/0.03078, allocations: 0.5625 kB / 0.7599 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.0308, allocations: 0.75 kB / 0.7599 GB, free: 5.465 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001487/0.03229, allocations: 1.689 MB / 0.7615 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.03232, allocations: 9 kB / 0.7616 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.03256, allocations: 160.6 kB / 0.7617 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.03337, allocations: 0.7493 MB / 0.7624 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.0334, allocations: 54.38 kB / 0.7625 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.03347, allocations: 83.92 kB / 0.7626 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.03402, allocations: 0.692 MB / 0.7632 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.03404, allocations: 7.953 kB / 0.7633 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.03407, allocations: 31.94 kB / 0.7633 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.0341, allocations: 21.66 kB / 0.7633 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.03434, allocations: 201 kB / 0.7635 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.0361, allocations: 2.169 MB / 0.7656 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.03632, allocations: 178.5 kB / 0.7658 GB, free: 15.21 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.03639, allocations: 71.25 kB / 0.7659 GB, free: 15.14 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-05/0.03647, allocations: 27.98 kB / 0.7659 GB, free: 15.11 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.03649, allocations: 42.48 kB / 0.7659 GB, free: 15.06 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.03649, allocations: 0 / 0.7659 GB, free: 15.06 MB / 0.7449 GB Notification: Performance of matching and sorting (n=31): time 0.0002658/0.03676, allocations: 199.4 kB / 0.7661 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.03678, allocations: 56 kB / 0.7662 GB, free: 14.79 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.03723, allocations: 0.6847 MB / 0.7668 GB, free: 14.09 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.03726, allocations: 34.36 kB / 0.7669 GB, free: 14.05 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.03743, allocations: 414.8 kB / 0.7673 GB, free: 13.64 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.03749, allocations: 115 kB / 0.7674 GB, free: 13.53 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.03758, allocations: 118.2 kB / 0.7675 GB, free: 13.41 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.03765, allocations: 322.9 kB / 0.7678 GB, free: 13.09 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.03774, allocations: 64.11 kB / 0.7679 GB, free: 13.02 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.03795, allocations: 394 kB / 0.7682 GB, free: 12.53 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.03827, allocations: 358.4 kB / 0.7686 GB, free: 12.11 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.03827, allocations: 5.719 kB / 0.7686 GB, free: 12.11 MB / 0.7449 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004351/0.03871, allocations: 346.8 kB / 0.7689 GB, free: 11.77 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.03872, allocations: 8.656 kB / 0.7689 GB, free: 11.76 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.03873, allocations: 4 kB / 0.7689 GB, free: 11.75 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.03874, allocations: 9.062 kB / 0.7689 GB, free: 11.75 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.03899, allocations: 135.8 kB / 0.7691 GB, free: 11.61 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.039, allocations: 12.84 kB / 0.7691 GB, free: 11.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.03921, allocations: 64.27 kB / 0.7691 GB, free: 11.54 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.03924, allocations: 23.94 kB / 0.7692 GB, free: 11.52 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0001342/0.03937, allocations: 145.3 kB / 0.7693 GB, free: 11.36 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.03944, allocations: 67.86 kB / 0.7694 GB, free: 11.3 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.03972, allocations: 248.3 kB / 0.7696 GB, free: 11.05 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.03972, allocations: 4.625 kB / 0.7696 GB, free: 11.04 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.03972, allocations: 4 kB / 0.7696 GB, free: 11.04 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001377/0.03986, allocations: 223.8 kB / 0.7698 GB, free: 10.79 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.04056, allocations: 0.7889 MB / 0.7706 GB, free: 9.961 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.04057, allocations: 0 / 0.7706 GB, free: 9.961 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.04075, allocations: 91.94 kB / 0.7707 GB, free: 9.871 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.04089, allocations: 100.1 kB / 0.7708 GB, free: 9.773 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.04089, allocations: 4 kB / 0.7708 GB, free: 9.77 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.0409, allocations: 12.73 kB / 0.7708 GB, free: 9.758 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.04091, allocations: 0 / 0.7708 GB, free: 9.758 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.04091, allocations: 5.281 kB / 0.7708 GB, free: 9.754 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.04123, allocations: 438.7 kB / 0.7712 GB, free: 9.293 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.04128, allocations: 9.406 kB / 0.7712 GB, free: 9.285 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.04146, allocations: 19.98 kB / 0.7712 GB, free: 9.266 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.0415, allocations: 27.89 kB / 0.7713 GB, free: 9.238 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.04152, allocations: 17.02 kB / 0.7713 GB, free: 9.223 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0002271/0.04175, allocations: 335.2 kB / 0.7716 GB, free: 8.898 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.04175, allocations: 0 / 0.7716 GB, free: 8.898 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0004151/0.04216, allocations: 288.5 kB / 0.7719 GB, free: 8.617 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002224/0.04239, allocations: 155.2 kB / 0.772 GB, free: 8.461 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.04263, allocations: 237.9 kB / 0.7723 GB, free: 8.23 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/0.04265, allocations: 12 kB / 0.7723 GB, free: 8.219 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.04279, allocations: 113.4 kB / 0.7724 GB, free: 8.105 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.04454, allocations: 3.252 MB / 0.7755 GB, free: 4.258 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.0492, allocations: 1.443 MB / 0.777 GB, free: 2.758 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.04931, allocations: 179.2 kB / 0.7771 GB, free: 2.562 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0003015/0.04961, allocations: 154.2 kB / 0.7773 GB, free: 2.43 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.05015, allocations: 358.1 kB / 0.7776 GB, free: 2.074 MB / 0.7449 GB Notification: Performance of SimCode: time 6.91e-07/0.05015, allocations: 3.938 kB / 0.7776 GB, free: 2.07 MB / 0.7449 GB Notification: Performance of Templates: time 0.01932/0.06947, allocations: 18.4 MB / 0.7956 GB, free: 156 kB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.049676155671477]